Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | enumerate only requires an iterable (closes #16573) | Benjamin Peterson | 2012-11-29 | 2 | -6/+18 |
| | | | | Patch by Jonathan Kotta. | ||||
* | Issue #16477: Close tarfile internal handlers in case of exception. | Andrew Svetlov | 2012-11-29 | 1 | -13/+11 |
| | | | | Patch by Serhiy Storchaka. | ||||
* | #16549: fix test failures on Windows. | Ezio Melotti | 2012-11-29 | 1 | -2/+2 |
| | |||||
* | #16476: Fix json.tool to avoid including trailing whitespace. | Ezio Melotti | 2012-11-29 | 2 | -9/+10 |
| | |||||
* | #16549: Make json.tool work again on Python 3 and add tests. Initial patch ↵ | Ezio Melotti | 2012-11-29 | 2 | -9/+80 |
| | | | | by Berker Peksag and Serhiy Storchaka. | ||||
* | #16333: document a way to get rid of trailing whitespace when indent is used. | Ezio Melotti | 2012-11-28 | 2 | -5/+12 |
| | |||||
* | #16559: Add more tests for the json module. Patch by Serhiy Storchaka. | Ezio Melotti | 2012-11-26 | 3 | -15/+44 |
| | |||||
* | Closes #16521: Improved error handling for basicConfig(), added tests for same. | Vinay Sajip | 2012-11-25 | 2 | -9/+168 |
| | |||||
* | Issue #12848: The pure Python pickle implementation now treats object ↵ | Antoine Pitrou | 2012-11-24 | 1 | -13/+26 |
| | | | | | | lengths as unsigned 32-bit integers, like the C implementation does. Patch by Serhiy Storchaka. | ||||
* | Remove debug print. | Ezio Melotti | 2012-11-23 | 1 | -4/+0 |
| | |||||
* | #16306: report only the first unknown option and add more tests. Patch by ↵ | Ezio Melotti | 2012-11-23 | 1 | -3/+15 |
| | | | | Serhiy Storchaka. | ||||
* | Improve str() and object.__str__() documentation (issue #13538). | Chris Jerdonek | 2012-11-21 | 2 | -0/+21 |
| | |||||
* | Issue #1160: Fix compiling large regular expressions on UCS2 builds. | Antoine Pitrou | 2012-11-20 | 1 | -0/+6 |
| | | | | Patch by Serhiy Storchaka. | ||||
* | #7782: add a test for test_iter. | Ezio Melotti | 2012-11-18 | 1 | -0/+15 |
| | |||||
* | #16306: Fix multiple error messages when unknown command line parameters ↵ | Ezio Melotti | 2012-11-18 | 1 | -1/+8 |
| | | | | where passed to the interpreter. Patch by Hieu Nguyen. | ||||
* | #14313: zipfile now raises NotImplementedError when the compression type is ↵ | Ezio Melotti | 2012-11-18 | 2 | -0/+39 |
| | | | | unknown. | ||||
* | Issue #16408: Fix file descriptors not being closed in error conditions in ↵ | Antoine Pitrou | 2012-11-17 | 1 | -222/+205 |
| | | | | | | the zipfile module. Patch by Serhiy Storchaka. | ||||
* | Closes #16461: Wave library should be able to deal with 4GB wav files, and ↵ | Jesus Cea | 2012-11-17 | 1 | -6/+6 |
| | | | | sample rate of 44100 Hz. | ||||
* | #16478: use floor division in tabnanny and fix a ResourceWarning. Patch by ↵ | Ezio Melotti | 2012-11-16 | 1 | -8/+11 |
| | | | | Serhiy Storchaka. | ||||
* | don't gc_collect on CPython to guarantee a lack of ref cycles (thanks Antoine) | Philip Jenvey | 2012-11-14 | 1 | -5/+9 |
| | |||||
* | add gc_collects to weakref tests | Philip Jenvey | 2012-11-13 | 1 | -0/+3 |
| | |||||
* | Merge heads | Antoine Pitrou | 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 #16453: Fix equality testing of dead weakref objects. | Antoine Pitrou | 2012-11-11 | 1 | -21/+84 |
|/ | | | | Also add tests for ordering and hashing. | ||||
* | Issue #15677: Document that zlib and gzip accept a compression level of 0 to ↵ | Nadeem Vawda | 2012-11-11 | 1 | -3/+4 |
| | | | | | | mean 'no compression'. Patch by Brian Brazil. | ||||
* | Fixes issue #16140: The subprocess module no longer double closes its | Gregory P. Smith | 2012-11-11 | 2 | -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. Smith | 2012-11-11 | 1 | -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'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 | 2 | -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 0 when | Gregory P. Smith | 2012-11-11 | 1 | -2/+6 |
| | | | | not expected in subprocess.Popen.wait(). | ||||
* | 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 | -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 | 2 | -10/+41 |
| | | | | | | SSLContext.wrap_socket(). Original patch by Jeff McNeil. | ||||
* | #16433: fix docstring of assertNotEqual. | Ezio Melotti | 2012-11-08 | 1 | -1/+1 |
| | |||||
* | Issue #15001: fix segfault on "del sys.module['__main__']" | Hynek Schlawack | 2012-11-07 | 1 | -0/+12 |
| | | | | Patch by Victor Stinner. | ||||
* | Record a known crasher from #6717 | Nick Coghlan | 2012-11-05 | 1 | -0/+27 |
| | |||||
* | 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: 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. | ||||
* | Issue #16402: In range slicing, fix shadowing of exceptions from __index__ ↵ | Mark Dickinson | 2012-11-04 | 1 | -0/+9 |
| | | | | method. | ||||
* | #16336: fix input checking in the surrogatepass error handler. Patch by ↵ | Ezio Melotti | 2012-11-03 | 1 | -0/+2 |
| | | | | Serhiy Storchaka. | ||||
* | #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: sre_parse now raises a proper error when the name of the group is ↵ | Ezio Melotti | 2012-11-03 | 2 | -1/+27 |
| | | | | missing. Initial patch by Serhiy Storchaka. | ||||
* | #16152: fix tokenize to ignore whitespace at the end of the code when no ↵ | Ezio Melotti | 2012-11-03 | 2 | -1/+8 |
| | | | | newline is found. Patch by Ned Batchelder. | ||||
* | Issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu | Andrew Svetlov | 2012-11-01 | 4 | -13/+74 |
| | | | | Patch by Todd Rovito. | ||||
* | 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. | ||||
* | Change docstring for xdrlib.Error to use new style exceptions. | Andrew Svetlov | 2012-11-01 | 1 | -1/+1 |
| | |||||
* | Issue #16373: Prevent infinite recursion for ABC Set class operations. | Andrew Svetlov | 2012-11-01 | 2 | -2/+35 |
| | |||||
* | Issue #16377: Fix bisect unittest. | Andrew Svetlov | 2012-10-31 | 1 | -1/+1 |
| | | | | Patch by Yury Selivanov. | ||||
* | only fast-path fromkeys() when the constructor returns a empty dict (closes ↵ | Benjamin Peterson | 2012-10-31 | 1 | -0/+8 |
| | | | | #16345) |