summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Do a better job of preserving the state of sys.modules.Barry Warsaw2012-11-201-1/+6
|
* Merge test from issue #1160.Antoine Pitrou2012-11-201-0/+6
|\
| * Issue #1160: Fix compiling large regular expressions on UCS2 builds.Antoine Pitrou2012-11-201-0/+6
| | | | | | | | Patch by Serhiy Storchaka.
* | - Issue #16514: Fix regression causing a traceback when sys.path[0] is NoneBarry Warsaw2012-11-202-4/+23
| | | | | | | | (actually, any non-string or non-bytes type).
* | #7782: merge with 3.2.Ezio Melotti2012-11-181-0/+15
|\ \ | |/
| * #7782: add a test for test_iter.Ezio Melotti2012-11-181-0/+15
| |
* | #16306: merge with 3.2.Ezio Melotti2012-11-181-1/+8
|\ \ | |/
| * #16306: Fix multiple error messages when unknown command line parameters ↵Ezio Melotti2012-11-181-1/+8
| | | | | | | | where passed to the interpreter. Patch by Hieu Nguyen.
| * #14313: zipfile now raises NotImplementedError when the compression type is ↵Ezio Melotti2012-11-182-0/+39
| | | | | | | | unknown.
* | Issue #16408: Fix file descriptors not being closed in error conditions in ↵Antoine Pitrou2012-11-171-234/+217
|\ \ | |/ | | | | | | | | the zipfile module. Patch by Serhiy Storchaka.
| * Issue #16408: Fix file descriptors not being closed in error conditions in ↵Antoine Pitrou2012-11-171-222/+205
| | | | | | | | | | | | the zipfile module. Patch by Serhiy Storchaka.
* | Issue #16489: Make it clearer that importlib.find_loader() requiresBrett Cannon2012-11-171-1/+3
| | | | | | | | the user to import any parent packages.
* | MERGE: Closes #16461: Wave library should be able to deal with 4GB wav ↵Jesus Cea2012-11-171-6/+6
|\ \ | |/ | | | | files, and sample rate of 44100 Hz.
| * Closes #16461: Wave library should be able to deal with 4GB wav files, and ↵Jesus Cea2012-11-171-6/+6
| | | | | | | | sample rate of 44100 Hz.
* | #16478: merge with 3.2.Ezio Melotti2012-11-161-8/+8
|\ \ | |/
| * #16478: use floor division in tabnanny and fix a ResourceWarning. Patch by ↵Ezio Melotti2012-11-161-8/+11
| | | | | | | | Serhiy Storchaka.
* | Issue #16481: multiprocessing no longer leaks process handles on Windows.Richard Oudkerk2012-11-151-0/+1
| |
* | merge 3.2Philip Jenvey2012-11-141-5/+10
|\ \ | |/
| * don't gc_collect on CPython to guarantee a lack of ref cycles (thanks Antoine)Philip Jenvey2012-11-141-5/+9
| |
* | Issue #16378: Updated docstrings to reflect the defaults present in the code.Vinay Sajip2012-11-141-4/+7
| |
* | merge 3.2Philip Jenvey2012-11-131-0/+3
|\ \ | |/
| * add gc_collects to weakref testsPhilip Jenvey2012-11-131-0/+3
| |
| * Merge headsAntoine Pitrou2012-11-111-19/+18
| |\
* | | missing letterBenjamin Peterson2012-11-121-1/+1
| | |
* | | Issue #16218, #16444: Backport improvment on tests for non-ASCII charactersVictor Stinner2012-11-124-10/+105
| | |
* | | Add a test for hashing of unaligned memory buffers (from issue #16427).Antoine Pitrou2012-11-111-0/+10
| | |
* | | Merge headsAntoine Pitrou2012-11-111-19/+18
|\ \ \
| * \ \ Refactor test_preexec_errpipe to not create an uncollectable reference cycle.Gregory P. Smith2012-11-111-19/+18
| |\ \ \ | | | |/ | | |/|
| | * | Refactor test_preexec_errpipe to not create an uncollectable reference cycle.Gregory P. Smith2012-11-111-19/+18
| | | |
* | | | Issue #16453: Fix equality testing of dead weakref objects.Antoine Pitrou2012-11-111-21/+84
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| Also add tests for ordering and hashing.
| * | Issue #16453: Fix equality testing of dead weakref objects.Antoine Pitrou2012-11-111-21/+84
| |/ | | | | | | Also add tests for ordering and hashing.
* | Issue #15677: Document that zlib and gzip accept a compression level of 0 to ↵Nadeem Vawda2012-11-111-3/+4
|\ \ | |/ | | | | | | | | mean 'no compression'. Patch by Brian Brazil.
| * Issue #15677: Document that zlib and gzip accept a compression level of 0 to ↵Nadeem Vawda2012-11-111-3/+4
| | | | | | | | | | | | mean 'no compression'. Patch by Brian Brazil.
* | Fixes issue #16140: The subprocess module no longer double closes itsGregory P. Smith2012-11-112-3/+38
|\ \ | |/ | | | | | | | | | | | | | | child subprocess.PIPE parent file descriptors on child error prior to exec(). This would lead to race conditions in multithreaded programs where another thread opened a file reusing the fd which was then closed out from beneath it by the errant second close.
| * Fixes issue #16140: The subprocess module no longer double closes itsGregory P. Smith2012-11-112-3/+38
| | | | | | | | | | | | | | | | | | child subprocess.PIPE parent file descriptors on child error prior to exec(). This would lead to race conditions in multithreaded programs where another thread opened a file reusing the fd which was then closed out from beneath it by the errant second close.
* | Remove the subprocess "bad exception data" warning (formerly a print!)Gregory P. Smith2012-11-111-3/+2
|\ \ | |/ | | | | | | | | | | | | all together and just include the repr of the data in the exception itself instead of the useless string "Unknown". This code path is unlikely to even be possible to take given the nature of the pipe it gets subprocess data from.
| * Remove the subprocess "bad exception data" warning (formerly a print!)Gregory P. Smith2012-11-111-3/+2
| | | | | | | | | | | | | | | | all together and just include the repr of the data in the exception itself instead of the useless string "Unknown". This code path is unlikely to even be possible to take given the nature of the pipe it gets subprocess data from.
* | Rename a local variable for readability and change a "this can'tGregory P. Smith2012-11-111-6/+8
|\ \ | |/ | | | | | | happen" print() call into a RuntimeWarning as it should've been in the first place. Because nothing should ever cause unexpected stdout output.
| * Rename a local variable for readability and change a "this can'tGregory P. Smith2012-11-111-6/+8
| | | | | | | | | | happen" print() call into a RuntimeWarning as it should've been in the first place. Because nothing should ever cause unexpected stdout output.
* | Fixes issue #16327: The subprocess module no longer leaks file descriptorsGregory P. Smith2012-11-112-3/+50
|\ \ | |/ | | | | used for stdin/stdout/stderr pipes to the child when fork() fails.
| * Fixes issue #16327: The subprocess module no longer leaks file descriptorsGregory P. Smith2012-11-112-3/+50
| | | | | | | | used for stdin/stdout/stderr pipes to the child when fork() fails.
* | Fixes issue #14396: Handle the odd rare case of waitpid returning 0Gregory P. Smith2012-11-111-3/+7
|\ \ | |/ | | | | when not expected in subprocess.Popen.wait().
| * Fixes issue #14396: Handle the odd rare case of waitpid returning 0 whenGregory P. Smith2012-11-111-2/+6
| | | | | | | | not expected in subprocess.Popen.wait().
* | Issue #16411: Fix a bug where zlib.decompressobj().flush() might try to ↵Nadeem Vawda2012-11-111-0/+12
|\ \ | |/ | | | | | | | | access previously-freed memory. Patch by Serhiy Storchaka.
| * Issue #16411: Fix a bug where zlib.decompressobj().flush() might try to ↵Nadeem Vawda2012-11-111-0/+12
| | | | | | | | | | | | access previously-freed memory. Patch by Serhiy Storchaka.
* | Issue #16350, part 2: Set unused_data (and unconsumed_tail) correctly in ↵Nadeem Vawda2012-11-111-10/+22
|\ \ | |/ | | | | | | | | | | | | | | | | decompressobj().flush(). Additionally, fix a bug where a MemoryError in allocating a bytes object could leave the decompressor object in an invalid state (with its unconsumed_tail member being NULL). Patch by Serhiy Storchaka.
| * Issue #16350, part 2: Set unused_data (and unconsumed_tail) correctly in ↵Nadeem Vawda2012-11-111-9/+21
| | | | | | | | | | | | | | | | | | | | decompressobj().flush(). Additionally, fix a bug where a MemoryError in allocating a bytes object could leave the decompressor object in an invalid state (with its unconsumed_tail member being NULL). Patch by Serhiy Storchaka.
* | Issue #16357: fix calling accept() on a SSLSocket created through ↵Antoine Pitrou2012-11-112-10/+41
|\ \ | |/ | | | | | | | | SSLContext.wrap_socket(). Original patch by Jeff McNeil.
| * Issue #16357: fix calling accept() on a SSLSocket created through ↵Antoine Pitrou2012-11-112-10/+41
| | | | | | | | | | | | SSLContext.wrap_socket(). Original patch by Jeff McNeil.
* | Fix test_urllib broken by my previous commits. The assumptions it wasGregory P. Smith2012-11-101-4/+5
| | | | | | | | | | | | testing were added as part of the issue10050 change that caused the wrong behavior in the first place. now all test cases agree on the behavior.