summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Issue #16453: Fix equality testing of dead weakref objects.Antoine Pitrou2012-11-111-0/+2
| | | | 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-0/+3
| | | | | | mean 'no compression'. Patch by Brian Brazil.
* Fixes issue #16140: The subprocess module no longer double closes itsGregory P. Smith2012-11-111-0/+3
| | | | | | | | | 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-0/+3
| | | | | | | | 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.
* Fixes issue #16327: The subprocess module no longer leaks file descriptorsGregory P. Smith2012-11-111-0/+3
| | | | 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-111-0/+3
| | | | not expected in subprocess.Popen.wait().
* Fixes issue #9535: Fix pending signals that have been received but notGregory P. Smith2012-11-111-0/+3
| | | | 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-111-0/+3
| | | | | | access previously-freed memory. Patch by Serhiy Storchaka.
* Issue #16350, part 2: Set unused_data (and unconsumed_tail) correctly in ↵Nadeem Vawda2012-11-111-2/+4
| | | | | | | | | | 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-111-0/+3
| | | | | | SSLContext.wrap_socket(). Original patch by Jeff McNeil.
* #13301: use ast.literal_eval() instead of eval() in Tools/i18n/msgfmt.py. ↵Ezio Melotti2012-11-091-0/+6
| | | | Patch by Serhiy Storchaka.
* Issue #15001: fix segfault on "del sys.module['__main__']"Hynek Schlawack2012-11-071-0/+3
| | | | Patch by Victor Stinner.
* Issue #16350: Fix zlib decompressor handling of unused_data with multiple ↵Nadeem Vawda2012-11-041-0/+4
| | | | | | calls to decompress() after EOF. Patch by Serhiy Storchaka.
* #5057: the peepholer no longer optimizes subscription on unicode literals ↵Ezio Melotti2012-11-041-0/+4
| | | | (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/+3
| | | | method.
* #16336: fix input checking in the surrogatepass error handler. Patch by ↵Ezio Melotti2012-11-031-0/+3
| | | | 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-031-0/+3
| | | | error.
* #12759: sre_parse now raises a proper error when the name of the group is ↵Ezio Melotti2012-11-031-0/+3
| | | | missing. Initial patch by Serhiy Storchaka.
* #16152: fix tokenize to ignore whitespace at the end of the code when no ↵Ezio Melotti2012-11-032-0/+4
| | | | newline is found. Patch by Ned Batchelder.
* Issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context MenuAndrew Svetlov2012-11-011-0/+3
| | | | Patch by Todd Rovito.
* Issue #16230: Fix a crash in select.select() when one the lists changes size ↵Antoine Pitrou2012-11-011-0/+3
| | | | | | 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/+3
| | | | | | it is being encoded. Patch by Serhiy Storchaka.
* fix spellingBenjamin Peterson2012-10-311-1/+1
|
* merge headsBenjamin Peterson2012-10-311-0/+2
|\
| * Closes #16369: Global PyTypeObjects not initialized with PyType_Ready(...). ↵Jesus Cea2012-10-311-0/+2
| | | | | | | | DOCUMENT IT!
* | only fast-path fromkeys() when the constructor returns a empty dict (closes ↵Benjamin Peterson2012-10-311-0/+3
|/ | | | #16345)
* Fix #16197. Update docstrings and documentation to match winreg code.Brian Curtin2012-10-291-0/+3
| | | | Patch by Zachary Ware.
* #14897: Enhance error messages of struct.pack and struct.pack_intoPetri Lehtinen2012-10-292-1/+5
| | | | Patch by Matti Mäki.
* Issue #14700: Fix buggy overflow checks for large precision and width in ↵Mark Dickinson2012-10-281-0/+3
| | | | new-style and old-style formatting.
* #8040: add a version switcher to the documentation. Patch by Yury Selivanov.Ezio Melotti2012-10-271-0/+3
|
* #12890: don't emit <p> tags in text mode when logdir specified.R David Murray2012-10-272-0/+4
| | | | Patch by Jeff McNeil.
* Issue #16250: Fix URLError invocation with proper args.Senthil Kumaran2012-10-271-0/+2
|
* Fix math.factorial KeyboardInterrupt segfault. Thanks Amaury for report and ↵Mark Dickinson2012-10-251-0/+3
| | | | diagnosis.
* #16210: combine the two type() docs. Patch by Pete Sevander.Ezio Melotti2012-10-241-0/+1
|
* - Issue #16262: fix out-of-src-tree builds, if mercurial is not installed.Matthias Klose2012-10-211-0/+2
|
* Issue #14398: Fix size truncation and overflow bugs in bz2 module.Nadeem Vawda2012-10-211-0/+2
|
* Issue #16220: wsgiref now always calls close() on an iterable response.Antoine Pitrou2012-10-212-0/+4
| | | | Patch by Brent Tubbs.
* Issue #6074: Forward port Windows read-only source file fix from 2.7Nick Coghlan2012-10-191-0/+3
|
* Fix issue #16270: urllib may hang when used for retrieving files via FTP by ↵Giampaolo Rodola'2012-10-191-0/+3
| | | | using a context manager.
* null mergeAndrew Svetlov2012-10-171-0/+1
|\
| * Issue #9583: Document startup option/environment interaction.Andrew Svetlov2012-10-171-0/+1
| | | | | | | | Patch by Todd Rovito.
* | Issue #15378: Fix Tools/unicode/comparecodecs.py. Patch by Serhiy Storchaka.Antoine Pitrou2012-10-171-0/+2
|/
* Fix #16176. Properly identify Windows 8 via platform.platform()Brian Curtin2012-10-111-0/+2
| | | | Add handling of the 6.2 release line, aka Windows 8 and Windows 2012 Server.
* Fixes Issue #16114: The subprocess module no longer provides aGregory P. Smith2012-10-101-0/+4
| | | | | | | | | | | | | | | misleading error message stating that args[0] did not exist when either the cwd or executable keyword arguments specified a path that did not exist. It now keeps track of if the child got as far as preexec and reports it if not back to the parent via a special "noexec" error message value in the error pipe so that the cwd can be blamed for a failed chdir instead of the exec of the executable being blamed instead. The executable is also always reported accurately when exec fails. Unittests enhanced to cover these cases.
* Issue #16115: Improve subprocess.Popen() documentation around args, shell, ↵Chris Jerdonek2012-10-091-0/+3
| | | | and executable arguments.
* #13498: Clarify docs of os.makedirs()'s exist_ok argument.Hynek Schlawack2012-10-071-0/+3
| | | | Done with great native-speaker help from R. David Murray.
* Issue #14783: Improve int() docstring and also str(), range(), and slice().Chris Jerdonek2012-10-071-0/+3
| | | | | | This commit rewrites the docstring for int() to incorporate the documentation changes made in issue #16036. It also switches the docstrings for int(), str(), range(), and slice() to use multi-line signatures.
* Issue #14900: Distuguish call count and primitive call count in pstat output.Andrew Svetlov2012-10-071-0/+1
| | | | Patch by Arne Babenhauserheide.