- 28 Dec, 2006 1 commit
-
-
Neal Norwitz authored
-
- 27 Dec, 2006 3 commits
-
-
Lars Gustäbel authored
Will backport to 2.5.
-
Andrew M. Kuchling authored
[Rest of patch #1182394] Add ._current() method so that we can use the written-in-C .hexdigest() method
-
Andrew M. Kuchling authored
constant; this allows changing it in a subclass. To accommodate this, copy() now uses __class__. Also add some text to a comment.
-
- 23 Dec, 2006 2 commits
-
-
Lars Gustäbel authored
certain conditions. Will backport to 2.5.
-
Lars Gustäbel authored
work correctly together with readline(). Will backport to 2.5.
-
- 22 Dec, 2006 9 commits
-
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
Darn; this test works when you run test_pty.py directly, but fails when regrtest runs it (the os.read() raises os.error). I can't figure out the cause, so am commenting out the test.
-
Andrew M. Kuchling authored
[Patch #827559 from Chris Gonnerman] Make SimpleHTTPServer redirect when a directory URL is missing the trailing slash; this lets relative links work.
-
Andrew M. Kuchling authored
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.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
Is there really no other way to read the umask than to set it? Hope this works on Windows...
-
Andrew M. Kuchling authored
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.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
- 21 Dec, 2006 4 commits
-
-
Thomas Heller authored
Will backport.
-
Walter Dörwald authored
-
Andrew M. Kuchling authored
-
Neal Norwitz authored
-
- 20 Dec, 2006 7 commits
-
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
that should really be 'iterable'; this commit changes them. Did I miss any? Did I introduce any errors?
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
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.
-
Georg Brandl authored
-
Raymond Hettinger authored
Needs to be backported.
-
- 19 Dec, 2006 9 commits
-
-
Georg Brandl authored
if a buffer given to frombuf() is invalid.
-
Vinay Sajip authored
Updated documentation for findCaller() to indicate that a 3-tuple is now returned, rather than a 2-tuple.
-
Andrew M. Kuchling authored
try...finally to ensure the lock is always released. This could use the 'with' statement, but the patch uses 'finally'. 2.5 backport candidate.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
Also, the text for recvfrom told you to read recv() for an explanation of the 'flags' argument, but recv() just pointed you at the man page. Copied the man-page text to recvfrom(), recvfrom_into, recv_into to avoid the pointless redirection. I don't have LaTeX on this machine; hope my markup is OK.
-
Andrew M. Kuchling authored
instead of a more general XOR that has to construct a list. Slightly modified from Maurer's patch: the _strxor() function is no longer necessary at all.
-
Thomas Wouters authored
simple slices.
-
- 18 Dec, 2006 5 commits
-
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
[Bug #1616726] Fix description of generator.close(); if you raise some random exception, the exception is raised and doesn't trigger a RuntimeError
-
Andrew M. Kuchling authored
-