summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove the subprocess "bad exception data" warning (formerly a print!)Gregory P. Smith2012-11-112-3/+5
| | | | | | | | 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-113-3/+53
| | | | used for stdin/stdout/stderr pipes to the child when fork() fails.
* move note to the right sectionGregory P. Smith2012-11-111-3/+3
|
* Fixes issue #14396: Handle the odd rare case of waitpid returning 0 whenGregory P. Smith2012-11-112-2/+9
| | | | not expected in subprocess.Popen.wait().
* Fixes issue #9535: Fix pending signals that have been received but notGregory P. Smith2012-11-112-0/+19
| | | | yet handled by Python to not persist after os.fork() in the child process.
* Issue #16411: Fix a bug where zlib.decompressobj().flush() might try to ↵Nadeem Vawda2012-11-113-0/+17
| | | | | | access previously-freed memory. Patch by Serhiy Storchaka.
* Issue #16350, part 2: Set unused_data (and unconsumed_tail) correctly in ↵Nadeem Vawda2012-11-113-56/+80
| | | | | | | | | | 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-113-10/+44
| | | | | | SSLContext.wrap_socket(). Original patch by Jeff McNeil.
* Link set and frozenset function docs to their class definitions (issue #16436).Chris Jerdonek2012-11-101-6/+13
|
* Improve FAQ link in documentation (for issue #16435).Chris Jerdonek2012-11-102-3/+4
|
* #13301: use ast.literal_eval() instead of eval() in Tools/i18n/msgfmt.py. ↵Ezio Melotti2012-11-092-3/+9
| | | | Patch by Serhiy Storchaka.
* #16440: fix exception type and clarify example.Ezio Melotti2012-11-081-9/+15
|
* Issue #16439: Fix markup in example for stdtypes.Andrew Svetlov2012-11-081-5/+5
| | | | Thanks to Yongzhi Pan.
* Issue #16435: Link in tutorial now points to python3 FAQ.Andrew Svetlov2012-11-081-7/+5
| | | | Thanks to Yongzhi Pan from docs@
* #16433: fix docstring of assertNotEqual.Ezio Melotti2012-11-081-1/+1
|
* #11481: update copyreg docs and add example.Ezio Melotti2012-11-082-5/+28
|
* Merge heads.Ezio Melotti2012-11-081-5/+5
|\
| * #10385: use the mod role in subprocess docs.Ezio Melotti2012-11-081-5/+5
| |
* | Issue #15001: fix segfault on "del sys.module['__main__']"Hynek Schlawack2012-11-073-6/+21
| | | | | | | | 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-043-6/+40
|/ | | | | | calls to decompress() after EOF. Patch by Serhiy Storchaka.
* #5057: the peepholer no longer optimizes subscription on unicode literals ↵Ezio Melotti2012-11-043-24/+18
| | | | (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-043-5/+17
| | | | method.
* #16304: clarify match objects docs. Initial patch by Jan Duzinkiewicz.Ezio Melotti2012-11-041-3/+10
|
* Fix compilation on WindowsChristian Heimes2012-11-031-1/+1
|
* #16336: fix input checking in the surrogatepass error handler. Patch by ↵Ezio Melotti2012-11-033-4/+9
| | | | Serhiy Storchaka.
* Fix a couple typos in Misc/NEWS.Ezio Melotti2012-11-031-2/+2
|
* #8401: assigning an int to a bytearray slice (e.g. b[3:4] = 5) now raises an ↵Ezio Melotti2012-11-033-0/+27
| | | | error.
* Link to mapping glossary entry in "Mapping Types - dict" and os.environ docs.Chris Jerdonek2012-11-032-3/+3
|
* #12759: sre_parse now raises a proper error when the name of the group is ↵Ezio Melotti2012-11-033-1/+30
| | | | missing. Initial patch by Serhiy Storchaka.
* #4711: break long words in the docs sidebar to avoid overflow.Ezio Melotti2012-11-031-0/+1
|
* #16152: fix tokenize to ignore whitespace at the end of the code when no ↵Ezio Melotti2012-11-034-1/+12
| | | | newline is found. Patch by Ned Batchelder.
* Grammar touchup.Georg Brandl2012-11-021-12/+10
|
* Issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context MenuAndrew Svetlov2012-11-016-13/+98
| | | | Patch by Todd Rovito.
* Reword set docs to use *proper subset/superset* terminology.Andrew Svetlov2012-11-011-2/+2
|
* Issue #14893: Add function annotation example to function tutorial.Andrew Svetlov2012-11-011-0/+34
| | | | Patch by Zachary Ware.
* Issue #16230: Fix a crash in select.select() when one the lists changes size ↵Antoine Pitrou2012-11-013-4/+15
| | | | | | 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-013-7/+14
| | | | | | 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.
* merge headsAndrew Svetlov2012-10-311-104/+133
|\
| * Issue #14900: document added sort keys for profile stats.Andrew Svetlov2012-10-311-104/+133
| |
* | Issue #16348: Fix incorrect documentation for Decimal.remainder_near.Mark Dickinson2012-10-311-6/+15
| |
* | avoid a function call with redundant checks for dict sizeBenjamin Peterson2012-10-311-1/+1
| |
* | fix spellingBenjamin Peterson2012-10-311-1/+1
| |
* | merge headsBenjamin Peterson2012-10-316-21/+18
|\ \ | |/
| * Closes #16369: Global PyTypeObjects not initialized with PyType_Ready(...). ↵Jesus Cea2012-10-311-0/+2
| | | | | | | | DOCUMENT IT!
| * #16371: fix up the English a bit more.R David Murray2012-10-311-2/+2
| |