summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bug #1088206: zlib decompressobj documentation typoRaymond Hettinger2004-12-201-1/+1
|
* Bugs item #1069409 C:\Python24\Lib\compileall.py returns FalseRaymond Hettinger2004-12-201-1/+1
| | | | * return an integer rather than a boolean
* Bug #1079011: Incorrect error message (somewhat)Raymond Hettinger2004-12-191-1/+1
|
* Bug #1066607: "Limitations" section of profiler docs is incorrectRaymond Hettinger2004-12-191-10/+1
|
* Bug #1087216: datetime module documentation missing critical detailRaymond Hettinger2004-12-191-3/+9
|
* Skip test_imp if threading is not available.Brett Cannon2004-12-181-1/+5
| | | | Closes bug #1083645. Thanks Detlef Vollmann.
* Switch from getting LDFLAGS and CPPFLAGS from the environment to the Makefile.Brett Cannon2004-12-181-5/+5
| | | | | | | | This is to avoid a problem that inconsistently comes up where the environment variable is unset while the Makefile clearly has the values set and are used during ``make``. Closes bug #1081045.
* Bug #1083645Raymond Hettinger2004-12-182-4/+25
| | | | * The decimal module wouldn't load on builds without threads.
* Small boost to PySequence_Fast(). Lists build faster than tuples forRaymond Hettinger2004-12-181-1/+1
| | | | unsized iterable inputs.
* fix unterminated commentAndrew MacIntyre2004-12-181-1/+1
|
* Refactor:Raymond Hettinger2004-12-171-10/+21
| | | | | | | | * Improve algorithm -- no more O(n) steps except sched.cancel(). * Improve thread safety of sched.run() and sched.empty() (other threads could alter the queue between the time the queue was first checked and when the lead event was deleted). * Localize variable access in sched.run() to minimize overhead.
* SF bug #1086555: refcount problem in syslogRaymond Hettinger2004-12-161-3/+4
|
* SF #1085304: Make array.array pickle-ableRaymond Hettinger2004-12-163-0/+46
|
* Add missing decref.Raymond Hettinger2004-12-161-0/+1
|
* SF bug #1085744: Performance issues with PySequence_Tuple()Raymond Hettinger2004-12-161-4/+14
| | | | | | | * Added missing error checks. * Fixed O(n**2) growth pattern. Modeled after lists to achieve linear amortized resizing. Improves construction of "tuple(it)" when "it" is large and does not have a __len__ method. Other cases are unaffected.
* fixed compilation against BerkeleyDB 3.2.9 (sf bug # 1077040)Gregory P. Smith2004-12-161-0/+8
|
* Fix typo (from SF bug #1086127).Walter Dörwald2004-12-151-1/+1
|
* Fix copy & paste error in comments.Walter Dörwald2004-12-141-2/+2
|
* SF bug #1084457: ossaudiodev no longer undocumentedRaymond Hettinger2004-12-141-5/+0
|
* Correct mapping of Python codec name to C encoding name for UTF-8 (the C libMarc-André Lemburg2004-12-132-104/+5
| | | | | | doesn't seem to like "UTF-8"). Removed the UTF-8 aliases since these should be available for all locales.
* Check in missing png version of pyfav.gif.Johannes Gijsbers2004-12-131-0/+0
|
* rewrote the bsddb module BerkeleyDB library and include file locatingGregory P. Smith2004-12-131-72/+93
| | | | | code. This version is much cleaner and makes a proper attempt at pairing up the correct header file and library.
* note for amkAnthony Baxter2004-12-131-0/+3
|
* the bsddb module now also works with BerkeleyDB 4.3.Gregory P. Smith2004-12-132-5/+8
|
* * Adds support for building against BerkeleyDB 4.3.21Gregory P. Smith2004-12-131-21/+74
| | | | * bumped the module version number up to 4.3.0
* Patch #1080684: typo repair. Thanks George Yoshida!Johannes Gijsbers2004-12-124-9/+10
| | | | | | | | | | | | | | | | - Doc/lib/libbase64.tex s/algorith/algorithm - Doc/lib/libpickle.tex s/interchangable/interchangeable - Doc/lib/libxmlrpclib.tex s/{_cmp__}/{__cmp__} leading underscore needs to be double, not single. - Doc/ref/ref6.tex 0/1 => False/True
* Patch #1011890: fix inspect.getsource breaking with line-continuation &Johannes Gijsbers2004-12-123-5/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | more. Thanks to Simon Percivall! The patch makes changes to inspect.py in two places: * the pattern to match against functions at line 436 is modified: lambdas should be matched even if not preceded by whitespace, as long as "lambda" isn't part of another word. * the BlockFinder class is heavily modified. Changes are: - checking for "def", "class" or "lambda" names before setting self.started to True. Then checking the same line for word characters after the colon (if the colon is on that line). If so, and the line does not end with a line continuation marker, raise EndOfBlock immediately. - adding self.passline to show that the line is to be included and no more checking is necessary on that line. Since a NEWLINE token is not generated when a line continuation marker exists, this allows getsource to continue with these functions even if the following line would not be indented. Also add a bunch of 'quite-unlikely-to-occur-in-real-life-but-working-anyway' tests.
* Patch #736962: port test_inspect to unittest. As part of this, move outJohannes Gijsbers2004-12-123-395/+427
| | | | | the fodder modules to separate files to get rid of the imp.load_source() trickery.
* Use os.geteuid() for checking whether we are root, as suggested byJohannes Gijsbers2004-12-121-1/+1
| | | | Michael Hudson.
* Replace VB with VC.Martin v. Löwis2004-12-123-38/+107
|
* OS/2 specific fixes related to SF bug # 1003471.Andrew MacIntyre2004-12-121-68/+67
| | | | | Also revise a related function to minimise file handle/pipe leakage and improve reliability.
* OS/2 specific fixes related to SF bug # 1003471Andrew MacIntyre2004-12-122-1/+23
|
* Setting textwrap.TextWrapper().expand_tabs to True calls expandtabs, notBrett Cannon2004-12-111-1/+1
| | | | expand_tabs, on the object being wrapped.
* SF bug #1083202L UnboundLocalError raised by atexit moduleRaymond Hettinger2004-12-111-3/+3
| | | | The sys module could be called before being imported.
* locale.py now uses an updated locale alias table (built usingMarc-André Lemburg2004-12-103-219/+946
| | | | | | | | | Tools/i18n/makelocalealias.py, a tool to parse the X11 locale alias file); the encoding lookup was enhanced to use Python's encoding alias table As sige-effect, this fixes SF bug [ 1080864 ] locale.py doesn't recognize valid locale setting.
* Rearranged mappings to value sorting order.Marc-André Lemburg2004-12-101-13/+13
|
* SF bug #1082944: Incorrect docs for PyUnicode_TailMatchRaymond Hettinger2004-12-101-1/+2
| | | | | * Note correct return type is int. * Note that -1 returned on failure.
* Whitespace normalization.Tim Peters2004-12-071-13/+13
|
* remove the other half of one of the regsub-related comments; the otherFred Drake2004-12-071-1/+0
| | | | half was removed in revision 1.25
* Combined several entries.Raymond Hettinger2004-12-071-6/+2
|
* Remove reference to old pickle feature.Raymond Hettinger2004-12-071-5/+0
|
* Remove outdated references to the regsub module.Raymond Hettinger2004-12-073-5/+2
|
* Eliminate the deprecated option to return None instead of a tuple of ↵Raymond Hettinger2004-12-074-33/+16
| | | | arguments in __reduce__().
* Change code in setup.py for parsing LDFLAGS and CPPFLAGS to use optparseBrett Cannon2004-12-073-7/+11
| | | | | instead of getopt. Required making use of gettext._ as optional (optparse changed OK'ed by Greg Ward in private email).
* setup.py now uses the library directories specified in LDFLAGS (``-L``Brett Cannon2004-12-073-10/+31
| | | | | | | | | | | | | | | | | | | directories) and the include directories specified in CPPFLAGS (``-I`` directories) for compiling the extension modules. This has led to the core being compiled with the values in the shell's CPPFLAGS. It has also removed the need for special casing to use Fink and DarwinPorts under darwin since the needed directories can now be specified in LDFLAGS and CPPFLAGS (e.g., DarwinPorts users can now do ``LDFLAGS=-L/opt/local/lib; CPPFLAGS=-I/opt/local/include; ./configure`` for everything to work properly). Parsing the values in the environment variables is done with getopt. While optparse would have been a nicer solution it cannot be used because of dependency issues at execution time; optparse uses gettext which uses struct which will not have been compiled when the code is imported. If optparse ever makes its importation of gettext optional by catching ImportError and setting _() to an identity function then it can be used.
* Put parentheses around the assignment in the 'while' loop conditionalBrett Cannon2004-12-071-1/+1
| | | | expression in min_max() to shut gcc up.
* Patch #1075928: AUTH PLAIN in smtplib.Johannes Gijsbers2004-12-061-1/+1
| | | | | | smtplib can not log in to some server using command AUTH PLAIN, it sends ``user\0user\0pass'' to the server, but ``\0user\0pass'' has better compatibility.
* SF bug #1076467: don't run test_on_error as root, as the permissionJohannes Gijsbers2004-12-061-2/+6
| | | | | errors don't get provoked that way. Also add a bunch of cross-references to bugs.
* Remove deprecated xmllib from inclusion in the docs.Raymond Hettinger2004-12-062-2/+1
|
* Fix for SF bug #947894: calendar.weekheader() undocumentedWalter Dörwald2004-12-061-0/+5
|