Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixes issue #16140: The subprocess module no longer double closes its | Gregory P. Smith | 2012-11-11 | 1 | -0/+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 its | Gregory P. Smith | 2012-11-11 | 1 | -0/+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 #16327: The subprocess module no longer leaks file descriptors | Gregory P. Smith | 2012-11-11 | 1 | -0/+33 |
|\ \ | |/ | | | | | 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 | 1 | -0/+33 |
| | | | | | | | | used for stdin/stdout/stderr pipes to the child when fork() fails. | ||||
* | | Issue #16411: Fix a bug where zlib.decompressobj().flush() might try to ↵ | Nadeem Vawda | 2012-11-11 | 1 | -0/+12 |
|\ \ | |/ | | | | | | | | | 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 | 1 | -0/+12 |
| | | | | | | | | | | | | 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 | 1 | -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 Vawda | 2012-11-11 | 1 | -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 Pitrou | 2012-11-11 | 1 | -0/+36 |
|\ \ | |/ | | | | | | | | | SSLContext.wrap_socket(). Original patch by Jeff McNeil. | ||||
| * | Issue #16357: fix calling accept() on a SSLSocket created through ↵ | Antoine Pitrou | 2012-11-11 | 1 | -0/+36 |
| | | | | | | | | | | | | 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 | 1 | -1/+10 |
| | | |||||
* | | Fixes issue #16409: The reporthook callback made by the legacy | Gregory P. Smith | 2012-11-10 | 1 | -4/+30 |
| | | | | | | | | | | | | 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. | ||||
* | | Issue #16431: Finally, consider all permutations. | Stefan Krah | 2012-11-08 | 1 | -9/+24 |
| | | |||||
* | | Issue #16431: Also fix the opposite direction. | Stefan Krah | 2012-11-07 | 1 | -0/+4 |
| | | |||||
* | | Issue #16431: Use the type information when constructing a Decimal subtype | Stefan Krah | 2012-11-07 | 1 | -0/+5 |
| | | | | | | | | from a Decimal argument. | ||||
* | | Issue #15001: fix segfault on "del sys.module['__main__']" | Hynek Schlawack | 2012-11-07 | 1 | -0/+12 |
|\ \ | |/ | | | | | Patch by Victor Stinner. | ||||
| * | Issue #15001: fix segfault on "del sys.module['__main__']" | Hynek Schlawack | 2012-11-07 | 1 | -0/+12 |
| | | | | | | | | Patch by Victor Stinner. | ||||
* | | Backport fc8f1b1c76bf. | Stefan Krah | 2012-11-06 | 1 | -14/+4 |
| | | |||||
* | | Merge #6717 crasher from 3.2 | Nick Coghlan | 2012-11-05 | 1 | -0/+27 |
|\ \ | |/ | |||||
| * | Record a known crasher from #6717 | Nick Coghlan | 2012-11-05 | 1 | -0/+27 |
| | | |||||
* | | The migration to importlib eliminated this crasher | Nick Coghlan | 2012-11-05 | 1 | -16/+0 |
| | | | | | | | | | | If anyone finds another recursive C path that bypasses the recursion limiting, they can add a new crasher example. | ||||
* | | Close #15165: Fix test_email on Windows 64 bits | Victor Stinner | 2012-11-05 | 1 | -4/+4 |
| | | | | | | | | Use year 1990 instead of year 1970 to avoid issues with negative timestamps. | ||||
* | | Issue #16350: Fix zlib decompressor handling of unused_data with multiple ↵ | Nadeem Vawda | 2012-11-04 | 1 | -0/+14 |
|\ \ | |/ | | | | | | | | | calls to decompress() after EOF. Patch by Serhiy Storchaka. | ||||
| * | Issue #16350: Fix zlib decompressor handling of unused_data with multiple ↵ | Nadeem Vawda | 2012-11-04 | 1 | -0/+13 |
| | | | | | | | | | | | | calls to decompress() after EOF. Patch by Serhiy Storchaka. | ||||
* | | #5057: null merge with 3.2 (only add tests). | Ezio Melotti | 2012-11-04 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | #5057: the peepholer no longer optimizes subscription on unicode literals ↵ | Ezio Melotti | 2012-11-04 | 1 | -6/+7 |
| | | | | | | | | (e.g. u"foo"[0]) in order to produce compatible pyc files between narrow and wide builds. | ||||
* | | #8271: the utf-8 decoder now outputs the correct number of U+FFFD ↵ | Ezio Melotti | 2012-11-04 | 1 | -1/+221 |
| | | | | | | | | characters when used with the "replace" error handler on invalid utf-8 sequences. Patch by Serhiy Storchaka, tests by Ezio Melotti. | ||||
* | | Issue #5765: Apply a hard recursion limit in the compiler | Nick Coghlan | 2012-11-04 | 2 | -13/+27 |
| | | | | | | | | | | | | | | Previously, excessive nesting in expressions would blow the stack and segfault the interpreter. Now, a hard limit based on the configured recursion limit and a hardcoded scaling factor is applied. | ||||
* | | Issue #16402: Merge fix from 3.2 | Mark Dickinson | 2012-11-04 | 1 | -0/+9 |
|\ \ | |/ | |||||
| * | Issue #16402: In range slicing, fix shadowing of exceptions from __index__ ↵ | Mark Dickinson | 2012-11-04 | 1 | -0/+9 |
| | | | | | | | | method. | ||||
* | | #16336: merge with 3.2. | Ezio Melotti | 2012-11-03 | 1 | -0/+2 |
|\ \ | |/ | |||||
| * | #16336: fix input checking in the surrogatepass error handler. Patch by ↵ | Ezio Melotti | 2012-11-03 | 1 | -0/+2 |
| | | | | | | | | Serhiy Storchaka. | ||||
* | | #8401: merge with 3.2. | Ezio Melotti | 2012-11-03 | 1 | -0/+18 |
|\ \ | |/ | |||||
| * | #8401: assigning an int to a bytearray slice (e.g. b[3:4] = 5) now raises an ↵ | Ezio Melotti | 2012-11-03 | 1 | -0/+18 |
| | | | | | | | | error. | ||||
* | | #12759: merge with 3.2. | Ezio Melotti | 2012-11-03 | 1 | -0/+20 |
|\ \ | |/ | |||||
| * | #12759: sre_parse now raises a proper error when the name of the group is ↵ | Ezio Melotti | 2012-11-03 | 1 | -0/+20 |
| | | | | | | | | missing. Initial patch by Serhiy Storchaka. | ||||
* | | #16152: merge with 3.2. | Ezio Melotti | 2012-11-03 | 1 | -0/+4 |
|\ \ | |/ | |||||
| * | #16152: fix tokenize to ignore whitespace at the end of the code when no ↵ | Ezio Melotti | 2012-11-03 | 1 | -0/+5 |
| | | | | | | | | newline is found. Patch by Ned Batchelder. | ||||
* | | Issue #15814: Use hash function that is compatible with the equality | Stefan Krah | 2012-11-02 | 1 | -2/+30 |
| | | | | | | | | definition from #15573. | ||||
* | | Issue #16145: Support legacy strings in the _csv module. | Stefan Krah | 2012-11-02 | 1 | -0/+11 |
| | | |||||
* | | Issue #16230: Fix a crash in select.select() when one the lists changes size ↵ | Antoine Pitrou | 2012-11-01 | 1 | -0/+10 |
|\ \ | |/ | | | | | | | | | while iterated on. Patch by Serhiy Storchaka. | ||||
| * | Issue #16230: Fix a crash in select.select() when one the lists changes size ↵ | Antoine Pitrou | 2012-11-01 | 1 | -0/+10 |
| | | | | | | | | | | | | while iterated on. Patch by Serhiy Storchaka. | ||||
* | | Issue #16228: Fix a crash in the json module where a list changes size while ↵ | Antoine Pitrou | 2012-11-01 | 1 | -0/+8 |
|\ \ | |/ | | | | | | | | | it is being encoded. Patch by Serhiy Storchaka. | ||||
| * | Issue #16228: Fix a crash in the json module where a list changes size while ↵ | Antoine Pitrou | 2012-11-01 | 1 | -0/+8 |
| | | | | | | | | | | | | it is being encoded. Patch by Serhiy Storchaka. | ||||
* | | Issue #16218: Support non ascii characters in python launcher. | Andrew Svetlov | 2012-11-01 | 1 | -0/+9 |
| | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | Merge issue #16373: Prevent infinite recursion for ABC Set class operations. | Andrew Svetlov | 2012-11-01 | 1 | -0/+33 |
|\ \ | |/ | | | | | Patch by Serhiy Storchaka. | ||||
| * | Issue #16373: Prevent infinite recursion for ABC Set class operations. | Andrew Svetlov | 2012-11-01 | 1 | -0/+33 |
| | | |||||
* | | Merge issue #16377: Fix bisect unittest. | Andrew Svetlov | 2012-10-31 | 1 | -1/+1 |
|\ \ | |/ | | | | | Patch by Yury Selivanov. | ||||
| * | Issue #16377: Fix bisect unittest. | Andrew Svetlov | 2012-10-31 | 1 | -1/+1 |
| | | | | | | | | Patch by Yury Selivanov. |