Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #21526: Skip test_booleans on Tcl < 8.5. | Serhiy Storchaka | 2015-04-02 | 1 | -0/+1 |
| | |||||
* | Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 and | Serhiy Storchaka | 2015-04-02 | 3 | -23/+248 |
| | | | | arbitrary precision integers added in Tcl 8.5. | ||||
* | Issue #23834: Fix socket.sendto(), use the C Py_ssize_t type to store the | Victor Stinner | 2015-04-02 | 2 | -1/+5 |
| | | | | result of sendto() instead of the C int type. | ||||
* | Issue #23851: close() must not be retried when it fails with EINTR | Victor Stinner | 2015-04-02 | 1 | -6/+6 |
| | | | | See the PEP 475 for the rationale. | ||||
* | Issue #22977: Fix test_exceptions | Victor Stinner | 2015-04-02 | 1 | -5/+8 |
| | |||||
* | Issue #21526: Fixed the test_booleans test for wantobjects = 0. | Serhiy Storchaka | 2015-04-02 | 1 | -2/+6 |
| | |||||
* | Issue #21526: Tkinter now supports new boolean type in Tcl 8.5. | Serhiy Storchaka | 2015-04-02 | 3 | -15/+51 |
| | |||||
* | Issue #22977: Fixed formatting Windows error messages on Wine. | Serhiy Storchaka | 2015-04-02 | 3 | -3/+14 |
| | | | | Patch by Martin Panter. | ||||
* | replace 512 bit dh key with a 2014 bit one (closes #23844) | Benjamin Peterson | 2015-04-02 | 3 | -10/+8 |
| | | | | Patch by Cédric Krier. | ||||
* | remove assignment in conditional | Benjamin Peterson | 2015-04-01 | 1 | -1/+2 |
| | |||||
* | Issue #23821: Fixed test_pdb failure under -O. | Serhiy Storchaka | 2015-04-01 | 1 | -11/+15 |
| | |||||
* | Issue #23838: linecache now clears the cache and returns an empty result on | Serhiy Storchaka | 2015-04-01 | 3 | -4/+24 |
| | | | | MemoryError. | ||||
* | Issue #23799: Added test.support.start_threads() for running and cleaning up | Serhiy Storchaka | 2015-04-01 | 9 | -80/+77 |
| | | | | multiple threads. | ||||
* | document what exactly str.splitlines() splits on (closes #12855) | Benjamin Peterson | 2015-04-01 | 1 | -4/+36 |
| | | | | Patch by Martin Panter. | ||||
* | Issue #18473: Fixed pickle compatibility tests for optional modules. | Serhiy Storchaka | 2015-03-31 | 2 | -10/+32 |
| | | | | Added WindowsError to compatibility mappings. | ||||
* | Issue #18473: Fixed 2to3 and 3to2 compatible pickle mappings. | Serhiy Storchaka | 2015-03-31 | 6 | -30/+326 |
| | | | | | | | | 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. | ||||
* | Issue #23729: Improve docs for ElementTree namespace parsing | Raymond Hettinger | 2015-03-31 | 1 | -8/+10 |
| | |||||
* | #23792: also catch interrupt around pipe.write. | R David Murray | 2015-03-30 | 1 | -1/+6 |
| | | | | | | The previous patch only dealt with KeyboardInterrupt when all of the data had been consumed by the pager. This deals with the interrupt when some data is still pending. | ||||
* | Issue #22585: os.urandom() now releases the GIL when the getentropy() is used | Victor Stinner | 2015-03-30 | 1 | -6/+14 |
| | | | | (OpenBSD 5.6+). | ||||
* | Issue #23785: Fixed memory leak in TextIOWrapper.tell() in rare circumstances. | Serhiy Storchaka | 2015-03-30 | 1 | -6/+2 |
| | |||||
* | Issue #23783: Fixed memory leak in PyObject_ClearWeakRefs() in case of | Serhiy Storchaka | 2015-03-30 | 1 | -7/+4 |
| | | | | MemoryError. | ||||
* | #23745: handle duplicate MIME parameter names in new parser. | R David Murray | 2015-03-30 | 3 | -7/+139 |
| | | | | | | | | | | 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 or | Serhiy Storchaka | 2015-03-29 | 2 | -15/+14 |
| | | | | directories are left after running a test. | ||||
* | Closes #23801 - Ignore entire preamble to multipart in cgi.FieldStorage | Donald Stufft | 2015-03-29 | 3 | -2/+29 |
| | |||||
* | #23792: Ignore KeyboardInterrupt when the pydoc pager is active. | R David Murray | 2015-03-29 | 2 | -3/+14 |
| | | | | | | | | | | | | | | | | | | | | 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 separator | Serhiy Storchaka | 2015-03-29 | 3 | -5/+10 |
| | | | | is wider then partitioned string. | ||||
* | Make some tests more frienly to MemoryError. | Serhiy Storchaka | 2015-03-28 | 6 | -16/+43 |
| | | | | Free memory, unlock hanging threads. | ||||
* | Issue #23445: Fix test.support.python_is_optimized() for CFLAGS=-Og | Victor Stinner | 2015-03-27 | 1 | -1/+1 |
| | | | | -Og does not optimize the C code, it's just "fast debugging". | ||||
* | asyncio: Fix _SelectorTransport.__repr__() if the event loop is closed | Victor Stinner | 2015-03-27 | 2 | -1/+6 |
| | |||||
* | Check that failed writerow() doesn't produce change a file. | Serhiy Storchaka | 2015-03-25 | 1 | -14/+16 |
| | |||||
* | Issue #23742: ntpath.expandvars() no longer loses unbalanced single quotes. | Serhiy Storchaka | 2015-03-25 | 3 | -1/+4 |
| | |||||
* | Issue #23571: If io.TextIOWrapper constructor fails in _Py_DisplaySourceLine(), | Victor Stinner | 2015-03-25 | 1 | -1/+8 |
| | | | | close the binary file to fix a resource warning. | ||||
* | Issue #23571: Fix reentrant call to Py_FatalError() | Victor Stinner | 2015-03-25 | 1 | -17/+28 |
| | | | | | | Flushing sys.stdout and sys.stderr in Py_FatalError() can call again Py_FatalError(). Add a reentrant flag to detect this case and just abort at the second call. | ||||
* | Fixed bytes warnings when run tests with -vv. | Serhiy Storchaka | 2015-03-24 | 2 | -6/+6 |
| | |||||
* | Issue #21802: The reader in BufferedRWPair now is closed even when closing | Serhiy Storchaka | 2015-03-24 | 4 | -6/+64 |
| | | | | writer failed in BufferedRWPair.close(). | ||||
* | Issue #23671: string.Template now allows to specify the "self" parameter as | Serhiy Storchaka | 2015-03-24 | 4 | -3/+48 |
| | | | | | keyword argument. string.Formatter now allows to specify the "self" and the "format_string" parameters as keyword arguments. | ||||
* | Added tests for mixed kinds of Unicode strings. | Serhiy Storchaka | 2015-03-24 | 1 | -0/+150 |
| | |||||
* | Issue #23583: Added tests for standard IO streams in IDLE. | Serhiy Storchaka | 2015-03-24 | 2 | -0/+238 |
| | |||||
* | Issue #23571: Py_FatalError() now tries to flush sys.stdout and sys.stderr | Victor Stinner | 2015-03-24 | 1 | -4/+26 |
| | | | | | It should help to see exceptions when stderr if buffered: PyErr_Display() calls sys.stderr.write(), it doesn't write into stderr file descriptor directly. | ||||
* | Issue #23571: Enhance Py_FatalError() | Victor Stinner | 2015-03-24 | 1 | -13/+60 |
| | | | | | | | | | * Display the current Python stack if an exception was raised but the exception has no traceback * Disable faulthandler if an exception was raised (before it was only disabled if no exception was raised) * To display the current Python stack, call PyGILState_GetThisThreadState() which works even if the GIL was released | ||||
* | #11468: improve unittest basic example. Initial patch by Florian Preinstorfer. | Ezio Melotti | 2015-03-24 | 2 | -37/+29 |
| | |||||
* | Issue #23654: Fix faulthandler._stack_overflow() for the Intel C Compiler (ICC) | Victor Stinner | 2015-03-23 | 2 | -1/+9 |
| | | | | | | | 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 cause | Serhiy Storchaka | 2015-03-23 | 3 | -2/+38 |
| | | | | GzipFile corruption. Original patch by Wolfgang Maier. | ||||
* | Issue 23729: Document ElementTree namespace handling and fix an omission in ↵ | Raymond Hettinger | 2015-03-22 | 1 | -0/+68 |
| | | | | the XPATH predicate table. | ||||
* | #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes. | R David Murray | 2015-03-22 | 2 | -5/+8 |
| | |||||
* | #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None. | R David Murray | 2015-03-22 | 5 | -41/+106 |
| | | | | | | | | 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. | ||||
* | #23700: fix/improve comment | R David Murray | 2015-03-22 | 1 | -2/+4 |
| | |||||
* | clarify behavior of shutil.move when destination exists (closes #22933) | Benjamin Peterson | 2015-03-22 | 1 | -6/+3 |
| | | | | Patch by Mike Short. | ||||
* | Issue #22289: Prevent test_urllib2net failures due to ftp connection timeout. | Ned Deily | 2015-03-22 | 2 | -1/+4 |
| | |||||
* | Issue #22079: Deprecation warning now is issued in PyType_Ready() instead of | Serhiy Storchaka | 2015-03-22 | 1 | -5/+8 |
| | | | | | raising TypeError when statically allocated type subclasses dynamically allocated type |