summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* enumerate only requires an iterable (closes #16573)Benjamin Peterson2012-11-292-6/+18
| | | | Patch by Jonathan Kotta.
* Issue #16477: Close tarfile internal handlers in case of exception.Andrew Svetlov2012-11-291-13/+11
| | | | Patch by Serhiy Storchaka.
* #16549: fix test failures on Windows.Ezio Melotti2012-11-291-2/+2
|
* #16476: Fix json.tool to avoid including trailing whitespace.Ezio Melotti2012-11-292-9/+10
|
* #16549: Make json.tool work again on Python 3 and add tests. Initial patch ↵Ezio Melotti2012-11-292-9/+80
| | | | by Berker Peksag and Serhiy Storchaka.
* #16333: document a way to get rid of trailing whitespace when indent is used.Ezio Melotti2012-11-282-5/+12
|
* #16559: Add more tests for the json module. Patch by Serhiy Storchaka.Ezio Melotti2012-11-263-15/+44
|
* Closes #16521: Improved error handling for basicConfig(), added tests for same.Vinay Sajip2012-11-252-9/+168
|
* Issue #12848: The pure Python pickle implementation now treats object ↵Antoine Pitrou2012-11-241-13/+26
| | | | | | lengths as unsigned 32-bit integers, like the C implementation does. Patch by Serhiy Storchaka.
* Remove debug print.Ezio Melotti2012-11-231-4/+0
|
* #16306: report only the first unknown option and add more tests. Patch by ↵Ezio Melotti2012-11-231-3/+15
| | | | Serhiy Storchaka.
* Improve str() and object.__str__() documentation (issue #13538).Chris Jerdonek2012-11-212-0/+21
|
* Issue #1160: Fix compiling large regular expressions on UCS2 builds.Antoine Pitrou2012-11-201-0/+6
| | | | Patch by Serhiy Storchaka.
* #7782: add a test for test_iter.Ezio Melotti2012-11-181-0/+15
|
* #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-222/+205
| | | | | | the zipfile module. Patch by Serhiy Storchaka.
* 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: use floor division in tabnanny and fix a ResourceWarning. Patch by ↵Ezio Melotti2012-11-161-8/+11
| | | | Serhiy Storchaka.
* don't gc_collect on CPython to guarantee a lack of ref cycles (thanks Antoine)Philip Jenvey2012-11-141-5/+9
|
* add gc_collects to weakref testsPhilip Jenvey2012-11-131-0/+3
|
* 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
| |
* | 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.
* 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.
* 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 #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 #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.
* #16433: fix docstring of assertNotEqual.Ezio Melotti2012-11-081-1/+1
|
* Issue #15001: fix segfault on "del sys.module['__main__']"Hynek Schlawack2012-11-071-0/+12
| | | | Patch by Victor Stinner.
* Record a known crasher from #6717Nick Coghlan2012-11-051-0/+27
|
* Issue #16350: Fix zlib decompressor handling of unused_data with multiple ↵Nadeem Vawda2012-11-041-0/+13
| | | | | | calls to decompress() after EOF. Patch by Serhiy Storchaka.
* #5057: the peepholer no longer optimizes subscription on unicode literals ↵Ezio Melotti2012-11-041-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 Dickinson2012-11-041-0/+9
| | | | method.
* #16336: fix input checking in the surrogatepass error handler. Patch by ↵Ezio Melotti2012-11-031-0/+2
| | | | Serhiy Storchaka.
* #8401: assigning an int to a bytearray slice (e.g. b[3:4] = 5) now raises an ↵Ezio Melotti2012-11-031-0/+18
| | | | error.
* #12759: sre_parse now raises a proper error when the name of the group is ↵Ezio Melotti2012-11-032-1/+27
| | | | missing. Initial patch by Serhiy Storchaka.
* #16152: fix tokenize to ignore whitespace at the end of the code when no ↵Ezio Melotti2012-11-032-1/+8
| | | | newline is found. Patch by Ned Batchelder.
* Issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context MenuAndrew Svetlov2012-11-014-13/+74
| | | | Patch by Todd Rovito.
* Issue #16230: Fix a crash in select.select() when one the lists changes size ↵Antoine Pitrou2012-11-011-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 Pitrou2012-11-011-0/+8
| | | | | | it is being encoded. Patch by Serhiy Storchaka.
* Change docstring for xdrlib.Error to use new style exceptions.Andrew Svetlov2012-11-011-1/+1
|
* Issue #16373: Prevent infinite recursion for ABC Set class operations.Andrew Svetlov2012-11-012-2/+35
|
* Issue #16377: Fix bisect unittest.Andrew Svetlov2012-10-311-1/+1
| | | | Patch by Yury Selivanov.
* only fast-path fromkeys() when the constructor returns a empty dict (closes ↵Benjamin Peterson2012-10-311-0/+8
| | | | #16345)