summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* Issue #23865: close() methods in multiple modules now are idempotent and moreSerhiy Storchaka2015-04-101-0/+4
| | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
* Issue #23686: Update Windows build to use OpenSSL 1.0.2a.Zachary Ware2015-04-081-1/+2
|
* Issue #23400: Raise same exception on both Python 2 and 3 if sem_open is not ↵Berker Peksag2015-04-081-0/+3
| | | | | | available. Patch by Davin Potts.
* Issue #23881: urllib.request.ftpwrapper constructor now closes the socket ifVictor Stinner2015-04-071-0/+3
| | | | the FTP connection failed to fix a ResourceWarning.
* Issue #15133: _tkinter.tkapp.getboolean() now supports Tcl_Obj and alwaysSerhiy Storchaka2015-04-041-0/+4
| | | | | returns bool. tkinter.BooleanVar now validates input values (accepted bool, int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool.
* Issue #23338: Fixed formatting ctypes error messages on Cygwin.Serhiy Storchaka2015-04-042-0/+4
| | | | Patch by Makoto Kato.
* Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 andSerhiy Storchaka2015-04-021-0/+3
| | | | arbitrary precision integers added in Tcl 8.5.
* Issue #23834: Fix socket.sendto(), use the C Py_ssize_t type to store theVictor Stinner2015-04-021-0/+3
| | | | result of sendto() instead of the C int type.
* Issue #21526: Tkinter now supports new boolean type in Tcl 8.5.Serhiy Storchaka2015-04-021-0/+2
|
* Issue #22977: Fixed formatting Windows error messages on Wine.Serhiy Storchaka2015-04-021-0/+3
| | | | Patch by Martin Panter.
* Issue #23838: linecache now clears the cache and returns an empty result onSerhiy Storchaka2015-04-011-0/+3
| | | | MemoryError.
* Issue #23799: Added test.support.start_threads() for running and cleaning upSerhiy Storchaka2015-04-011-0/+3
| | | | multiple threads.
* Issue #18473: Fixed 2to3 and 3to2 compatible pickle mappings.Serhiy Storchaka2015-03-311-0/+4
| | | | | | | | Fixed ambigious reverse mappings. Added many new mappings. Import mapping is no longer applied to modules already mapped with full name mapping. Added tests for compatible pickling and unpickling and for consistency of _compat_pickle mappings.
* #23745: handle duplicate MIME parameter names in new parser.R David Murray2015-03-301-0/+3
| | | | | | | | | | This mimics get_param's error handling for the most part. It is slightly better in some regards as get_param can produce some really weird results for duplicate *0* parts. It departs from get_param slightly in that if we have a mix of non-extended and extended pieces for the same parameter name, the new parser assumes they were all supposed to be extended and concatenates all the values, whereas get_param always picks the non-extended parameter value. All of this error recovery is pretty much arbitrary decisions...
* Issue #22390: test.regrtest now emits a warning if temporary files orSerhiy Storchaka2015-03-291-0/+3
| | | | directories are left after running a test.
* Closes #23801 - Ignore entire preamble to multipart in cgi.FieldStorageDonald Stufft2015-03-291-0/+3
|
* #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.
* Issue #23742: ntpath.expandvars() no longer loses unbalanced single quotes.Serhiy Storchaka2015-03-251-0/+2
|
* Issue #21802: The reader in BufferedRWPair now is closed even when closingSerhiy Storchaka2015-03-241-0/+3
| | | | writer failed in BufferedRWPair.close().
* 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 #23583: Added tests for standard IO streams in IDLE.Serhiy Storchaka2015-03-241-0/+5
|
* #11468: improve unittest basic example. Initial patch by Florian Preinstorfer.Ezio Melotti2015-03-241-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.
* #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes.R David Murray2015-03-221-0/+2
|
* #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: Prevent test_urllib2net failures due to ftp connection timeout.Ned Deily2015-03-221-0/+2
|
* 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 #23686: Update OS X 10.5 installer build to use OpenSSL 1.0.2a.Ned Deily2015-03-191-1/+1
|
* Fixed Misc/NEWS entry for issue #23136.Serhiy Storchaka2015-03-191-1/+1
|
* Issue #23136: _strptime now uniformly handles all days in week 0, includingSerhiy Storchaka2015-03-191-0/+3
| | | | Jan 30 of previous year. Based on patch by Jim Carroll.
* Issue #23700: Iterator of NamedTemporaryFile now keeps a reference toSerhiy Storchaka2015-03-191-0/+3
| | | | NamedTemporaryFile instance. Patch by Bohuslav Kabrda.
* Issue #22903: The fake test case created by unittest.loader when it fails ↵Antoine Pitrou2015-03-181-0/+3
| | | | importing a test module is now picklable.
* Issue #23568: Add rdivmod support to MagicMock() objects.Berker Peksag2015-03-141-0/+3
| | | | Patch by Håkan Lövdahl.
* Issue #23138: Fixed parsing cookies with absent keys or values in cookiejar.Serhiy Storchaka2015-03-131-0/+3
| | | | Patch by Demian Brecht.
* Issue #23051: multiprocessing.Pool methods imap() and imap_unordered() nowSerhiy Storchaka2015-03-132-0/+6
| | | | | handle exceptions raised by an iterator. Patch by Alon Diamant and Davin Potts.
* Issue #22928: Disabled HTTP header injections in http.client.Serhiy Storchaka2015-03-121-0/+3
| | | | Original patch by Demian Brecht.
* Issue #23192: Fixed generator lambdas. Patch by Bruno Cauet.Serhiy Storchaka2015-03-112-0/+3
|
* Issue #23615: Modules bz2, tarfile and tokenize now can be reloaded withSerhiy Storchaka2015-03-111-0/+3
| | | | imp.reload(). Patch by Thomas Kluyver.
* Issue #23629: Fix the default __sizeof__ implementation for variable-sized ↵Antoine Pitrou2015-03-101-0/+3
| | | | objects.
* Issue #23593: fix Misc/NEWS entriesNed Deily2015-03-061-1/+1
|
* Issue #23594: Update OS X 10.5 installer build to use OpenSSL 1.0.2.Ned Deily2015-03-061-0/+2
|
* enable X509_V_FLAG_TRUSTED_FIRST when possible (closes #23476)Benjamin Peterson2015-03-051-0/+3
|
* Issue #23576: Avoid stalling in SSL reads when EOF has been reached in the ↵Antoine Pitrou2015-03-041-0/+3
| | | | SSL layer but the underlying connection hasn't been closed.
* Issue #23504: Added an __all__ to the types module.Serhiy Storchaka2015-03-041-0/+2
|
* merge 3.3 (#23367)Benjamin Peterson2015-03-021-0/+2
|\
| * fix possible overflow bugs in unicodedata (closes #23367)Benjamin Peterson2015-03-021-0/+2
| |
* | remove mention of Python 2.2 and 2.3Benjamin Peterson2015-03-021-6/+5
| |
* | Issue #20204: Added the __module__ attribute to _tkinter classes.Serhiy Storchaka2015-03-011-0/+3
| |