summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bare except clause removed from LogRecord.__init__. Now, only ValueError, ↵Vinay Sajip2007-01-081-3/+3
| | | | | | TypeError and AttributeError are trapped. (SF #411881)
* Bare except clause removed from SMTPHandler.emit(). Now, only ImportError is ↵Vinay Sajip2007-01-081-2/+2
| | | | | | | trapped. Bare except clause removed from SocketHandler.createSocket(). Now, only socket.error is trapped. (SF #411881)
* Fix zero-length corner case for iterating over a mutating deque.Raymond Hettinger2007-01-082-3/+8
|
* Avoid O(N**2) bottleneck in _communicate_(). Fixes #1598181.Peter Astrand2007-01-071-3/+4
|
* Re-implemented fix for #1531862 once again, in a way that works with Python ↵Peter Astrand2007-01-071-2/+6
| | | | 2.2. Fixes bug #1603424.
* Add Josiah to SF for maintaining asyncore/asynchatNeal Norwitz2007-01-061-0/+3
|
* update to (c) years to include 2007Anthony Baxter2007-01-067-11/+12
|
* SF# 1409443: Expand comment to cover the interaction between f->f_lasti and ↵Raymond Hettinger2007-01-061-1/+10
| | | | the PREDICT macros.
* Silence a warning from gcc 4.0.1 by specifying a function's parameter list isBrett Cannon2007-01-051-1/+1
| | | | 'void' instead of just a set of empty parentheses.
* [Patch #1520904] Fix bsddb tests to write to the temp directory instead of ↵Andrew M. Kuchling2007-01-0511-14/+17
| | | | the Lib/bsddb/test directory
* [Bug #1622533] Make docstrings raw strings because they contain control ↵Andrew M. Kuchling2007-01-052-2/+2
| | | | characters (\0, \1)
* Add Collin Winter for access to update PEP 3107Neal Norwitz2007-01-051-0/+3
|
* typo fixGregory P. Smith2007-01-051-1/+1
|
* Prevent crash on shutdown which can occur if we are finalizingNeal Norwitz2007-01-052-1/+5
| | | | | | | and the module dict has been cleared already and some object raises a warning (like in a __del__). Will backport.
* bump module version to match supported berkeleydb versionGregory P. Smith2007-01-051-1/+1
|
* Support linking of the bsddb module against BerkeleyDB 4.5.xGregory P. Smith2007-01-056-7/+18
| | | | (will backport to 2.5)
* Bug #1566280: Explicitly invoke threading._shutdown from Py_Main,Martin v. Löwis2007-01-043-5/+37
| | | | | to avoid relying on atexit. Will backport to 2.5.
* Fix stability of heapq's nlargest() and nsmallest().Raymond Hettinger2007-01-042-18/+14
|
* SF #1627373, fix typo in CarbonEvt.Neal Norwitz2007-01-041-1/+1
|
* Add EnvironmentVarGuard to test.test_support. Provides a context manager toBrett Cannon2007-01-043-1/+55
| | | | temporarily set or unset environment variables.
* For sets with cyclical reprs, emit an ellipsis instead of infinitely recursing.Raymond Hettinger2006-12-302-4/+50
|
* SF bug #1623890, fix argument name in docstringNeal Norwitz2006-12-291-1/+1
|
* Remove a stray (old) macro name left around (I guess)Neal Norwitz2006-12-281-2/+0
|
* Patch #1504073: Fix tarfile.open() for mode "r" with a fileobj argument.Lars Gustäbel2006-12-273-0/+17
| | | | Will backport to 2.5.
* [Rest of patch #1182394] Add ._current() method so that we can use the ↵Andrew M. Kuchling2006-12-273-4/+15
| | | | written-in-C .hexdigest() method
* [Part of patch #1182394] Move the HMAC blocksize to be a class-levelAndrew M. Kuchling2006-12-271-3/+4
| | | | | constant; this allows changing it in a subclass. To accommodate this, copy() now uses __class__. Also add some text to a comment.
* Patch #1262036: Prevent TarFiles from being added to themselves underLars Gustäbel2006-12-233-27/+23
| | | | | | certain conditions. Will backport to 2.5.
* Patch #1230446: tarfile.py: fix ExFileObject so that read() and tell()Lars Gustäbel2006-12-233-107/+167
| | | | | | work correctly together with readline(). Will backport to 2.5.
* Frak; this test also failsAndrew M. Kuchling2006-12-221-7/+7
|
* Darn; this test works when you run test_pty.py directly, but fails when ↵Andrew M. Kuchling2006-12-221-5/+5
| | | | regrtest runs it (the os.read() raises os.error). I can't figure out the cause, so am commenting out the test.
* [Patch #827559 from Chris Gonnerman] Make SimpleHTTPServer redirect when a ↵Andrew M. Kuchling2006-12-221-0/+6
| | | | directory URL is missing the trailing slash; this lets relative links work.
* [Patch #783050 from Patrick Lynch] The emulation of forkpty() is incorrect;Andrew M. Kuchling2006-12-222-1/+18
| | | | | | | | | | the master should close the slave fd. Added a test to test_pty.py that reads from the master_fd after doing a pty.fork(); without the fix it hangs forever instead of raising an exception. (<crossing fingers for the buildbots>) 2.5 backport candidate.
* [Bug #776202] Apply Walter Doerwald's patch to use text mode for encoded filesAndrew M. Kuchling2006-12-221-7/+7
|
* [Bug #802128 continued] Modify mode depending on the process umask.Andrew M. Kuchling2006-12-222-6/+21
| | | | | | Is there really no other way to read the umask than to set it? Hope this works on Windows...
* [Bug #802128] Make the mode argument of dumbdbm actually work the way it'sAndrew M. Kuchling2006-12-222-3/+23
| | | | | | | described, and add a test for it. 2.5 bugfix candidate, maybe; arguably this patch changes the API of dumbdbm and shouldn't be added in a point-release.
* [Bug #737202; fix from Titus Brown] Make CGIHTTPServer work for scripts in ↵Andrew M. Kuchling2006-12-221-0/+19
| | | | sub-directories
* Typo fixAndrew M. Kuchling2006-12-221-1/+1
|
* Fix wrong markup of an argument in a method signature.Thomas Heller2006-12-211-1/+1
| | | | Will backport.
* Fix typo.Walter Dörwald2006-12-211-1/+1
|
* Mention the os.SEEK_* constantsAndrew M. Kuchling2006-12-213-9/+13
|
* Lars asked for permission on on python-dev for work on tarfile.pyNeal Norwitz2006-12-211-0/+3
|
* [Bug #1619680] in_dll() arguments are documented in the wrong orderAndrew M. Kuchling2006-12-201-1/+1
|
* Some other built-in functions are described with 'sequence' argumentsAndrew M. Kuchling2006-12-201-38/+38
| | | | | | that should really be 'iterable'; this commit changes them. Did I miss any? Did I introduce any errors?
* Two grammar fixesAndrew M. Kuchling2006-12-201-2/+2
|
* [Bug #1619674] Make sum() use the term iterable, not sequenceAndrew M. Kuchling2006-12-201-5/+5
|
* [Apply length-checking.diff from bug #1599254]Andrew M. Kuchling2006-12-201-2/+23
| | | | | | | | | | | | | | | | | Add length checking to single-file mailbox formats: before doing a flush() on a mailbox, seek to the end and verify its length is unchanged, raising ExternalClashError if the file's length has changed. This fix avoids potential data loss if some other process appends to the mailbox file after the table of contents has been generated; instead of overwriting the modified file, you'll get the exception. I also noticed that the self._lookup() call in self.flush() wasn't necessary (everything that sets self._pending to True also calls self.lookup()), and replaced it by an assertion. 2.5 backport candidate.
* Testcase for patch #1484695.Georg Brandl2006-12-202-6/+28
|
* Bug #1590891: random.randrange don't return correct value for big numberRaymond Hettinger2006-12-203-1/+11
| | | | Needs to be backported.
* Patch #1484695: The tarfile module now raises a HeaderError exceptionGeorg Brandl2006-12-193-10/+27
| | | | if a buffer given to frombuf() is invalid.
* Updated documentation for findCaller() to indicate that a 3-tuple is now ↵Vinay Sajip2006-12-191-2/+4
| | | | returned, rather than a 2-tuple.