summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Refactor test_preexec_errpipe to not create an uncollectable reference cycle.Gregory P. Smith2012-11-111-19/+18
|
* 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)
* Add test for BZ2Decompressor.decompress("") after end of stream.Nadeem Vawda2012-10-281-0/+1
|
* merge headsAndrew Svetlov2012-10-281-6/+12
|\
| * Issue #14570: Document json sort_keys parameter properly.Andrew Svetlov2012-10-281-6/+12
| | | | | | | | Patch by Chris Rebert.
* | Issue #14700: Fix buggy overflow checks for large precision and width in ↵Mark Dickinson2012-10-281-0/+27
| | | | | | | | new-style and old-style formatting.
* | changeset: 80007:49e4541f2aefGeorg Brandl2012-10-281-2/+2
| | | | | | | | | | | | | | | | parent: 80003:be83cbf4a789 parent: 80006:32df036e6b75 user: Georg Brandl <georg@python.org> date: Sun Oct 28 10:50:11 2012 +0100 summary: merge with 3.3
* | #15889: make regrtest --start succeed in more cases.R David Murray2012-10-271-2/+2
| | | | | | | | Patch by Chris Jerdonek.
* | #12890: don't emit <p> tags in text mode when logdir specified.R David Murray2012-10-271-3/+8
| | | | | | | | Patch by Jeff McNeil.
* | #15043: Improve test_gdb support of gdb >= 7.4.R David Murray2012-10-271-38/+46
| | | | | | | | | | | | Instead of requiring the tester to manually add the path to the python-gdb.py file in the checkout to their .gdbinit file, add it automatically when invoking gdb in the test.
* | Issue #16250: Fix URLError invocation with proper args.Senthil Kumaran2012-10-272-18/+50
| |
* | bounds check for bad data (thanks amaury)Philip Jenvey2012-10-271-0/+2
| |
* | Issue #15853: Prevent IDLE crash on OS X when opening Preferences menuNed Deily2012-10-222-4/+6
| | | | | | | | with certain versions of Tk 8.5. Initial patch by Kevin Walzer.
* | Issue #14398: Fix size truncation and overflow bugs in bz2 module.Nadeem Vawda2012-10-212-1/+39
| |
* | Fix whacky spacking in test_wsgirefAntoine Pitrou2012-10-211-57/+0
| |
* | Issue #16220: wsgiref now always calls close() on an iterable response.Antoine Pitrou2012-10-212-36/+25
| | | | | | | | Patch by Brent Tubbs.
* | Issue #10405: Document IDLE context menus in Standard Library documentNed Deily2012-10-201-3/+12
| | | | | | | | | | | | and IDLE Help file. (Thanks to Nick ODell and Todd Rovito for suggestions.) Update Debug menu options in docs to match current code plus various other minor IDLE doc and help edits.
* | Fix broken test and replace redundant generator with a tupleNick Coghlan2012-10-191-9/+13
| |
* | Issue #6074: Actually delete the source file in the test as intendedNick Coghlan2012-10-191-1/+1
| |
* | Issue #6074: Forward port Windows read-only source file fix from 2.7Nick Coghlan2012-10-191-5/+51
| |
* | Fix issue #16270: urllib may hang when used for retrieving files via FTP by ↵Giampaolo Rodola'2012-10-191-6/+0
|/ | | | using a context manager.
* Issue #16257: make test_create_connection() handle ENETUNREACH.Trent Nelson2012-10-171-1/+20
|
* Also add tests for TextIOWrapper.writelines() (issue #15744).Antoine Pitrou2012-10-161-0/+22
|
* Add tests for the writelines() method of file objects.Antoine Pitrou2012-10-162-1/+46
| | | | Original patch by Felipe Cruz.
* Issue #16244: Remove file mode overrides.Vinay Sajip2012-10-161-2/+0
|