Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor test_preexec_errpipe to not create an uncollectable reference cycle. | Gregory P. Smith | 2012-11-11 | 1 | -19/+18 |
|\ | |||||
| * | Refactor test_preexec_errpipe to not create an uncollectable reference cycle. | Gregory P. Smith | 2012-11-11 | 1 | -19/+18 |
| | | |||||
* | | Issue #15677: Document that zlib and gzip accept a compression level of 0 to ↵ | Nadeem Vawda | 2012-11-11 | 5 | -14/+20 |
|\ \ | |/ | | | | | | | | | mean 'no compression'. Patch by Brian Brazil. | ||||
| * | Issue #15677: Document that zlib and gzip accept a compression level of 0 to ↵ | Nadeem Vawda | 2012-11-11 | 5 | -16/+22 |
| | | | | | | | | | | | | mean 'no compression'. Patch by Brian Brazil. | ||||
* | | Fixes issue #16140: The subprocess module no longer double closes its | Gregory P. Smith | 2012-11-11 | 3 | -3/+41 |
|\ \ | |/ | | | | | | | | | | | | | | | 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 its | Gregory P. Smith | 2012-11-11 | 3 | -3/+41 |
| | | | | | | | | | | | | | | | | | | 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. Smith | 2012-11-11 | 2 | -3/+5 |
|\ \ | |/ | | | | | | | | | | | | | 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. Smith | 2012-11-11 | 2 | -3/+5 |
| | | | | | | | | | | | | | | | | 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't | Gregory P. Smith | 2012-11-11 | 1 | -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't | Gregory P. Smith | 2012-11-11 | 1 | -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 descriptors | Gregory P. Smith | 2012-11-11 | 3 | -3/+53 |
|\ \ | |/ | | | | | used for stdin/stdout/stderr pipes to the child when fork() fails. | ||||
| * | Fixes issue #16327: The subprocess module no longer leaks file descriptors | Gregory P. Smith | 2012-11-11 | 3 | -3/+53 |
| | | | | | | | | used for stdin/stdout/stderr pipes to the child when fork() fails. | ||||
* | | null merge | Gregory P. Smith | 2012-11-11 | 0 | -0/+0 |
|\ \ | |/ | |||||
| * | move note to the right section | Gregory P. Smith | 2012-11-11 | 1 | -3/+3 |
| | | |||||
* | | Fixes issue #14396: Handle the odd rare case of waitpid returning 0 | Gregory P. Smith | 2012-11-11 | 2 | -3/+10 |
|\ \ | |/ | | | | | when not expected in subprocess.Popen.wait(). | ||||
| * | Fixes issue #14396: Handle the odd rare case of waitpid returning 0 when | Gregory P. Smith | 2012-11-11 | 2 | -2/+9 |
| | | | | | | | | not expected in subprocess.Popen.wait(). | ||||
* | | Fixes issue #9535: Fix pending signals that have been received but not | Gregory P. Smith | 2012-11-11 | 2 | -0/+19 |
|\ \ | |/ | | | | | yet handled by Python to not persist after os.fork() in the child process. | ||||
| * | Fixes issue #9535: Fix pending signals that have been received but not | Gregory P. Smith | 2012-11-11 | 2 | -0/+19 |
| | | | | | | | | yet handled by Python to not persist after os.fork() in the child process. | ||||
* | | Issue #16411: Fix a bug where zlib.decompressobj().flush() might try to ↵ | Nadeem Vawda | 2012-11-11 | 3 | -0/+17 |
|\ \ | |/ | | | | | | | | | access previously-freed memory. Patch by Serhiy Storchaka. | ||||
| * | Issue #16411: Fix a bug where zlib.decompressobj().flush() might try to ↵ | Nadeem Vawda | 2012-11-11 | 3 | -0/+17 |
| | | | | | | | | | | | | access previously-freed memory. Patch by Serhiy Storchaka. | ||||
* | | Issue #16350, part 2: Set unused_data (and unconsumed_tail) correctly in ↵ | Nadeem Vawda | 2012-11-11 | 3 | -56/+80 |
|\ \ | |/ | | | | | | | | | | | | | | | | | 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 Vawda | 2012-11-11 | 3 | -56/+80 |
| | | | | | | | | | | | | | | | | | | | | 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 Pitrou | 2012-11-11 | 3 | -10/+44 |
|\ \ | |/ | | | | | | | | | SSLContext.wrap_socket(). Original patch by Jeff McNeil. | ||||
| * | Issue #16357: fix calling accept() on a SSLSocket created through ↵ | Antoine Pitrou | 2012-11-11 | 3 | -10/+44 |
| | | | | | | | | | | | | SSLContext.wrap_socket(). Original patch by Jeff McNeil. | ||||
* | | Fix test_urllib broken by my previous commits. The assumptions it was | Gregory P. Smith | 2012-11-10 | 1 | -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. | ||||
* | | Accept Unicode legacy strings in the Decimal constructor. | Stefan Krah | 2012-11-10 | 2 | -2/+13 |
| | | |||||
* | | Fixes issue #16409: The reporthook callback made by the legacy | Gregory P. Smith | 2012-11-10 | 4 | -7/+39 |
| | | | | | | | | | | | | urllib.request.urlretrieve API now properly supplies a constant non-zero block_size as it did in Python 3.2 and 2.7. This matches the behavior of urllib.request.URLopener.retrieve. | ||||
* | | Merge from 3.2: adjust set and frozenset function docs (issue #16436). | Chris Jerdonek | 2012-11-10 | 1 | -6/+13 |
|\ \ | |/ | |||||
| * | Link set and frozenset function docs to their class definitions (issue #16436). | Chris Jerdonek | 2012-11-10 | 1 | -6/+13 |
| | | |||||
* | | Merge from 3.2: improve FAQ link in documentation (for issue #16435). | Chris Jerdonek | 2012-11-10 | 2 | -3/+4 |
|\ \ | |/ | |||||
| * | Improve FAQ link in documentation (for issue #16435). | Chris Jerdonek | 2012-11-10 | 2 | -3/+4 |
| | | |||||
* | | #13301: merge with 3.2. | Ezio Melotti | 2012-11-09 | 2 | -3/+9 |
|\ \ | |/ | |||||
| * | #13301: use ast.literal_eval() instead of eval() in Tools/i18n/msgfmt.py. ↵ | Ezio Melotti | 2012-11-09 | 2 | -3/+9 |
| | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | #16440: merge with 3.2. | Ezio Melotti | 2012-11-08 | 1 | -9/+15 |
|\ \ | |/ | |||||
| * | #16440: fix exception type and clarify example. | Ezio Melotti | 2012-11-08 | 1 | -9/+15 |
| | | |||||
* | | Merge issue #16439: Fix markup in example for stdtypes. | Andrew Svetlov | 2012-11-08 | 1 | -5/+5 |
|\ \ | |/ | | | | | Thanks to Yongzhi Pan. | ||||
| * | Issue #16439: Fix markup in example for stdtypes. | Andrew Svetlov | 2012-11-08 | 1 | -5/+5 |
| | | | | | | | | Thanks to Yongzhi Pan. | ||||
* | | Merge issue #16435: Link in tutorial now points to python3 FAQ. | Andrew Svetlov | 2012-11-08 | 1 | -7/+5 |
|\ \ | |/ | | | | | Thanks to Yongzhi Pan from docs@ | ||||
| * | Issue #16435: Link in tutorial now points to python3 FAQ. | Andrew Svetlov | 2012-11-08 | 1 | -7/+5 |
| | | | | | | | | Thanks to Yongzhi Pan from docs@ | ||||
* | | Issue #16431: Finally, consider all permutations. | Stefan Krah | 2012-11-08 | 2 | -11/+26 |
| | | |||||
* | | #16433: merge with 3.2. | Ezio Melotti | 2012-11-08 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | #16433: fix docstring of assertNotEqual. | Ezio Melotti | 2012-11-08 | 1 | -1/+1 |
| | | |||||
* | | #11481: merge with 3.2. | Ezio Melotti | 2012-11-08 | 2 | -5/+28 |
|\ \ | |/ | |||||
| * | #11481: update copyreg docs and add example. | Ezio Melotti | 2012-11-08 | 2 | -5/+28 |
| | | |||||
| * | Merge heads. | Ezio Melotti | 2012-11-08 | 1 | -5/+5 |
| |\ | |||||
* | \ | #10385: merge with 3.2. | Ezio Melotti | 2012-11-08 | 1 | -5/+5 |
|\ \ \ | | |/ | |/| | |||||
| * | | #10385: use the mod role in subprocess docs. | Ezio Melotti | 2012-11-08 | 1 | -5/+5 |
| | | | |||||
* | | | Issue #16431: Also fix the opposite direction. | Stefan Krah | 2012-11-07 | 2 | -1/+5 |
| | | | |||||
* | | | Issue #16431: Use the type information when constructing a Decimal subtype | Stefan Krah | 2012-11-07 | 3 | -2/+35 |
| | | | | | | | | | | | | from a Decimal argument. | ||||
* | | | Issue #15001: fix segfault on "del sys.module['__main__']" | Hynek Schlawack | 2012-11-07 | 3 | -6/+21 |
|\ \ \ | | |/ | |/| | | | | Patch by Victor Stinner. |