summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #16602: When a weakref's target was part of a long deallocation chain, ↵Antoine Pitrou2012-12-081-0/+21
| | | | | | the object could remain reachable through its weakref even though its refcount had dropped to zero. Thanks to Eugene Toder for diagnosing and reporting the issue.
* Issue #15747: skip chflags UF_IMMUTABLE tests if EOPNOTSUPP is raised.Victor Stinner2012-12-041-3/+20
| | | | | | This is necessary for ZFS systems, which don't support UF_IMMUTABLE. -- Kubilay Kocak (koobs) asked me on IRC to backport this fix to Python 2.7: done!
* Fix test splitting in previous commit.Antoine Pitrou2012-12-031-4/+2
|
* Split the bigmem re test in two separate tests with different memory ↵Antoine Pitrou2012-12-031-2/+10
| | | | requirements.
* Issue #10182: The re module doesn't truncate indices to 32 bits anymore.Antoine Pitrou2012-12-021-0/+16
| | | | Patch by Serhiy Storchaka.
* Minor fixups. Early-out for equality test. Inline PREV/NEXT constants.Raymond Hettinger2012-12-021-16/+15
|
* fix spellingBenjamin Peterson2012-11-301-2/+3
|
* Remove redundant check for symlink. (closes #6036)Benjamin Peterson2012-11-301-13/+14
| | | | Patch by Bruno Dupuis.
* 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-7/+7
| | | | 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: Add tests for json.tools. Initial patch by Berker Peksag and Serhiy ↵Ezio Melotti2012-11-292-6/+77
| | | | 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
|
* Issue #9011: AST creation no longer modifies CST for negated numeric literals.Mark Dickinson2012-11-251-0/+11
|
* Issue #16339: Document and test exec(stmt, globals, locals) form in Python 2.7.Mark Dickinson2012-11-251-0/+28
|
* test_winsound should require the "audio" resource, as it does on 3.x.Antoine Pitrou2012-11-241-0/+1
| | | | (this should fix some buildbot test failures)
* #16306: report only the first unknown option and add more tests. Patch by ↵Ezio Melotti2012-11-231-4/+14
| | | | Serhiy Storchaka.
* Remove steps no longer needed once __del__ was removedRaymond Hettinger2012-11-211-2/+0
|
* Fit nit: the return got dropped from an earlier check-inRaymond Hettinger2012-11-211-1/+1
|
* 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/+10
| | | | 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-210/+204
| | | | | | the zipfile module. Patch by Serhiy Storchaka.
* Issue #15379: Fix passing of non-BMP characters as integers for the charmap ↵Antoine Pitrou2012-11-172-1/+106
| | | | | | decoder (already working as unicode strings). 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.
* Issue #16453: Fix equality testing of dead weakref objects.Antoine Pitrou2012-11-111-11/+69
| | | | Also add tests for hashing.
* remove an obsolete commentGregory P. Smith2012-11-111-1/+0
|
* Refactor test_preexec_errpipe to not create an uncollectable reference cycle.Gregory P. Smith2012-11-111-22/+22
|
* Issue #15677: Document that zlib and gzip accept a compression level of 0 to ↵Nadeem Vawda2012-11-111-2/+3
| | | | | | mean 'no compression'. Patch by Brian Brazil.
* whitespace fixGregory P. Smith2012-11-111-1/+1
|
* Fix issue #16140 bug that the fix to issue #16327 added - don't doubleGregory P. Smith2012-11-112-3/+47
| | | | | close subprocess.PIPE file descriptors when the child encounters an error prior to exec.
* Fixes issue #16327: The subprocess module no longer leaks file descriptorsGregory P. Smith2012-11-112-6/+60
| | | | 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-2/+6
| | | | when 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.
* Bug #16441: avoid excessive memory usage working with large gzip filesChris Withers2012-11-091-2/+2
|
* #16433: fix docstring of assertNotEqual.Ezio Melotti2012-11-081-1/+1
|
* Issue #15001: fix segfault on "del sys.modules['__main__']"Hynek Schlawack2012-11-071-2/+17
| | | | Patch by Victor Stinner.
* 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.
* Closes #16183: ZipExtFile object close without file handle closed ↵Jesus Cea2012-11-041-2/+13
| | | | (backporting of Issue #9846)
* #8401: assigning an int to a bytearray slice (e.g. b[3:4] = 5) now raises an ↵Ezio Melotti2012-11-031-0/+20
| | | | 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/+7
| | | | newline is found. Patch by Ned Batchelder.
* Issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context MenuAndrew Svetlov2012-11-014-13/+72
| | | | Patch by Todd Rovito.
* Issue #16230: Fix a crash in select.select() when one the lists changes size ↵Antoine Pitrou2012-11-011-0/+9
| | | | | | 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/+9
| | | | | | it is being encoded. Patch by Serhiy Storchaka.