summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Issue #14260: The groupindex attribute of regular expression pattern objectSerhiy Storchaka2015-03-291-0/+3
| | | | now is non-modifiable mapping.
* merge 3.4 (#23801)Benjamin Peterson2015-03-291-0/+3
|\
| * Closes #23801 - Ignore entire preamble to multipart in cgi.FieldStorageDonald Stufft2015-03-291-0/+3
| |
* | Merge: #23792: Ignore KeyboardInterrupt when the pydoc pager is active.R David Murray2015-03-291-0/+4
|\ \ | |/
| * #23792: Ignore KeyboardInterrupt when the pydoc pager is active.R David Murray2015-03-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, if you hit ctl-c while the pager was active, the python that launched the subprocess for the pager would see the KeyboardInterrupt in the __exit__ method of the subprocess context manager where it was waiting for the subprocess to complete, ending the wait. This would leave the pager running, while the interactive interpreter, after handling the exception by printing it, would go back to trying to post a prompt...but the pager would generally have the terminal in raw mode, and in any case would be still trying to read from stdin. On some systems, even exiting python at that point would not restore the terminal mode. The problem with raw mode could also happen if ctl-C was hit when pydoc was called from the shell command line and the pager was active. Instead, we now wait on the subprocess in a loop, ignoring KeyboardInterrupt just like the pager does, until the pager actually exits. (Note: this was a regression relative to python2...in python2 the pager is called via system, and system does not return until the pager exits.)
| * Issue #23803: Fixed str.partition() and str.rpartition() when a separatorSerhiy Storchaka2015-03-291-0/+3
| | | | | | | | is wider then partitioned string.
* | Removed unintentional trailing spaces in text files.Serhiy Storchaka2015-03-292-3/+3
| |
* | Issue #23775: pprint() of OrderedDict now outputs the same representationSerhiy Storchaka2015-03-261-0/+3
| | | | | | | | as repr().
* | Issue #23765: Removed IsBadStringPtr calls in ctypesSteve Dower2015-03-261-0/+2
| |
* | Issue #22364: Improved some re error messages using regex for hints.Serhiy Storchaka2015-03-251-0/+2
| |
* | Issue #23742: ntpath.expandvars() no longer loses unbalanced single quotes.Serhiy Storchaka2015-03-251-0/+2
|\ \ | |/
| * Issue #23742: ntpath.expandvars() no longer loses unbalanced single quotes.Serhiy Storchaka2015-03-251-0/+2
| |
* | Issue #21717: The zipfile.ZipFile.open function now supports 'x' (exclusiveSerhiy Storchaka2015-03-251-0/+3
| | | | | | | | creation) mode.
* | Issue #21802: The reader in BufferedRWPair now is closed even when closingSerhiy Storchaka2015-03-241-0/+3
|\ \ | |/ | | | | writer failed in BufferedRWPair.close().
| * Issue #21802: The reader in BufferedRWPair now is closed even when closingSerhiy Storchaka2015-03-241-0/+3
| | | | | | | | writer failed in BufferedRWPair.close().
* | Issue #23622: Unknown escapes in regular expressions that consist of ``'\'``Serhiy Storchaka2015-03-241-0/+4
| | | | | | | | | | and ASCII letter now raise a deprecation warning and will be forbidden in Python 3.6.
* | Issue #4727: Fixed issue number in Misc/NEWS.Serhiy Storchaka2015-03-241-1/+1
| |
* | Issue #23671: string.Template now allows to specify the "self" parameter asSerhiy Storchaka2015-03-241-0/+4
|\ \ | |/ | | | | | | keyword argument. string.Formatter now allows to specify the "self" and the "format_string" parameters as keyword arguments.
| * Issue #23671: string.Template now allows to specify the "self" parameter asSerhiy Storchaka2015-03-241-0/+4
| | | | | | | | | | keyword argument. string.Formatter now allows to specify the "self" and the "format_string" parameters as keyword arguments.
* | Issue #23573: Increased performance of string search operations (str.find,Serhiy Storchaka2015-03-241-0/+4
| | | | | | | | | | str.index, str.count, the in operator, str.split, str.partition) with arguments of different kinds (UCS1, UCS2, UCS4).
* | Issue #23583: Added tests for standard IO streams in IDLE.Serhiy Storchaka2015-03-241-0/+2
|\ \ | |/
| * Issue #23583: Added tests for standard IO streams in IDLE.Serhiy Storchaka2015-03-241-0/+5
| |
* | Issue #23502: The pprint module now supports mapping proxies.Serhiy Storchaka2015-03-241-0/+2
| | | | | | | | In particular the __dict__ attributes of building types.
* | Issue #17530: pprint now wraps long bytes objects and bytearrays.Serhiy Storchaka2015-03-241-0/+2
| |
* | Issue #22687: Fixed some corner cases in breaking words in tetxtwrap.Serhiy Storchaka2015-03-241-0/+3
| | | | | | | | Got rid of quadratic complexity in breaking long words.
* | Issue #20289: The copy module now uses pickle protocol 4 (PEP 3154) andSerhiy Storchaka2015-03-241-0/+4
| | | | | | | | | | supports copying of instances of classes whose __new__ method takes keyword-only arguments.
* | #11468: merge with 3.4.Ezio Melotti2015-03-241-0/+1
|\ \ | |/
| * #11468: improve unittest basic example. Initial patch by Florian Preinstorfer.Ezio Melotti2015-03-241-0/+1
| |
* | Issue #23753: Python doesn't support anymore platforms without stat() orVictor Stinner2015-03-241-1/+4
| | | | | | | | | | | | | | fstat(), these functions are always required. Remove HAVE_STAT and HAVE_FSTAT defines, and stop supporting DONT_HAVE_STAT and DONT_HAVE_FSTAT.
* | Misc/NEWS entries for zipapp changesPaul Moore2015-03-231-0/+7
| |
* | Merge 3.4 (faulthandler ICC)Victor Stinner2015-03-231-0/+1
|\ \ | |/
| * Issue #23654: Fix faulthandler._stack_overflow() for the Intel C Compiler (ICC)Victor Stinner2015-03-231-0/+1
| | | | | | | | | | | | | | Issue #23654: Turn off ICC's tail call optimization for the stack_overflow generator. ICC turns the recursive tail call into a loop. Patch written by Matt Frank.
| * Issue #21560: An attempt to write a data of wrong type no longer causeSerhiy Storchaka2015-03-231-0/+3
| | | | | | | | GzipFile corruption. Original patch by Wolfgang Maier.
* | Issue #23688: Added support of arbitrary bytes-like objects and avoidedSerhiy Storchaka2015-03-231-0/+4
| | | | | | | | | | unnecessary copying of memoryview in gzip.GzipFile.write(). Original patch by Wolfgang Maier.
* | Issue #23252: Added support for writing ZIP files to unseekable streams.Serhiy Storchaka2015-03-221-0/+2
| |
* | Issue #21526: Tkinter now supports new boolean type in Tcl 8.5.Serhiy Storchaka2015-03-221-0/+2
| |
* | Merge: #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes.R David Murray2015-03-221-0/+2
|\ \ | |/
| * #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes.R David Murray2015-03-221-0/+2
| |
* | Merge: #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None.R David Murray2015-03-222-0/+5
|\ \ | |/
| * #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None.R David Murray2015-03-222-0/+5
| | | | | | | | | | | | | | | | Some http servers will reject PUT, POST, and PATCH requests if they do not have a Content-Length header. Patch by James Rutherford, with additional cleaning up of the 'request' documentation by me.
* | Issue #22289: merge from 3.4Ned Deily2015-03-221-0/+5
|\ \ | |/
| * Issue #22289: Prevent test_urllib2net failures due to ftp connection timeout.Ned Deily2015-03-221-0/+2
| |
* | Issue 23704: Add index(), copy(), and insert() to deques. Register deques ↵Raymond Hettinger2015-03-211-0/+4
| | | | | | | | as a MutableSequence.
* | Issue #22351: The nntplib.NNTP constructor no longer leaves the connectionSerhiy Storchaka2015-03-211-0/+4
|\ \ | |/ | | | | | | and socket open until the garbage collector cleans them up. Patch by Martin Panter.
| * Issue #22351: The nntplib.NNTP constructor no longer leaves the connectionSerhiy Storchaka2015-03-211-0/+4
| | | | | | | | | | and socket open until the garbage collector cleans them up. Patch by Martin Panter.
* | Issue #23681: The -b option now affects comparisons of bytes with int.Serhiy Storchaka2015-03-201-0/+2
| |
* | Issue #23715: signal.sigwaitinfo() and signal.sigtimedwait() are now retriedVictor Stinner2015-03-201-0/+5
| | | | | | | | | | | | | | | | | | | | when interrupted by a signal not in the *sigset* parameter, if the signal handler does not raise an exception. signal.sigtimedwait() recomputes the timeout with a monotonic clock when it is retried. Remove test_signal.test_sigwaitinfo_interrupted() because sigwaitinfo() doesn't raise InterruptedError anymore if it is interrupted by a signal not in its sigset parameter.
* | Issue #22826: The result of open() in Tools/freeze/bkfile.py is now betterSerhiy Storchaka2015-03-201-0/+8
| | | | | | | | | | compatible with regular files (in particular it now supports the context management protocol).
* | Issue #23001: Few functions in modules mmap, ossaudiodev, socket, ssl, andSerhiy Storchaka2015-03-201-0/+4
| | | | | | | | | | codecs, that accepted only read-only bytes-like object now accept writable bytes-like object too.
* | Issue #23686: Update OS X 10.5 installer build to use OpenSSL 1.0.2a.Ned Deily2015-03-191-1/+1
|\ \ | |/