summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #21526: Skip test_booleans on Tcl < 8.5.Serhiy Storchaka2015-04-021-0/+1
|
* Issue #16840: Tkinter now supports 64-bit integers added in Tcl 8.4 andSerhiy Storchaka2015-04-023-23/+248
| | | | 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-022-1/+5
| | | | result of sendto() instead of the C int type.
* Issue #23851: close() must not be retried when it fails with EINTRVictor Stinner2015-04-021-6/+6
| | | | See the PEP 475 for the rationale.
* Issue #22977: Fix test_exceptionsVictor Stinner2015-04-021-5/+8
|
* Issue #21526: Fixed the test_booleans test for wantobjects = 0.Serhiy Storchaka2015-04-021-2/+6
|
* Issue #21526: Tkinter now supports new boolean type in Tcl 8.5.Serhiy Storchaka2015-04-023-15/+51
|
* Issue #22977: Fixed formatting Windows error messages on Wine.Serhiy Storchaka2015-04-023-3/+14
| | | | Patch by Martin Panter.
* replace 512 bit dh key with a 2014 bit one (closes #23844)Benjamin Peterson2015-04-023-10/+8
| | | | Patch by Cédric Krier.
* remove assignment in conditionalBenjamin Peterson2015-04-011-1/+2
|
* Issue #23821: Fixed test_pdb failure under -O.Serhiy Storchaka2015-04-011-11/+15
|
* Issue #23838: linecache now clears the cache and returns an empty result onSerhiy Storchaka2015-04-013-4/+24
| | | | MemoryError.
* Issue #23799: Added test.support.start_threads() for running and cleaning upSerhiy Storchaka2015-04-019-80/+77
| | | | multiple threads.
* document what exactly str.splitlines() splits on (closes #12855)Benjamin Peterson2015-04-011-4/+36
| | | | Patch by Martin Panter.
* Issue #18473: Fixed pickle compatibility tests for optional modules.Serhiy Storchaka2015-03-312-10/+32
| | | | Added WindowsError to compatibility mappings.
* Issue #18473: Fixed 2to3 and 3to2 compatible pickle mappings.Serhiy Storchaka2015-03-316-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 parsingRaymond Hettinger2015-03-311-8/+10
|
* #23792: also catch interrupt around pipe.write.R David Murray2015-03-301-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 usedVictor Stinner2015-03-301-6/+14
| | | | (OpenBSD 5.6+).
* Issue #23785: Fixed memory leak in TextIOWrapper.tell() in rare circumstances.Serhiy Storchaka2015-03-301-6/+2
|
* Issue #23783: Fixed memory leak in PyObject_ClearWeakRefs() in case ofSerhiy Storchaka2015-03-301-7/+4
| | | | MemoryError.
* #23745: handle duplicate MIME parameter names in new parser.R David Murray2015-03-303-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 orSerhiy Storchaka2015-03-292-15/+14
| | | | directories are left after running a test.
* Closes #23801 - Ignore entire preamble to multipart in cgi.FieldStorageDonald Stufft2015-03-293-2/+29
|
* #23792: Ignore KeyboardInterrupt when the pydoc pager is active.R David Murray2015-03-292-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 separatorSerhiy Storchaka2015-03-293-5/+10
| | | | is wider then partitioned string.
* Make some tests more frienly to MemoryError.Serhiy Storchaka2015-03-286-16/+43
| | | | Free memory, unlock hanging threads.
* Issue #23445: Fix test.support.python_is_optimized() for CFLAGS=-OgVictor Stinner2015-03-271-1/+1
| | | | -Og does not optimize the C code, it's just "fast debugging".
* asyncio: Fix _SelectorTransport.__repr__() if the event loop is closedVictor Stinner2015-03-272-1/+6
|
* Check that failed writerow() doesn't produce change a file.Serhiy Storchaka2015-03-251-14/+16
|
* Issue #23742: ntpath.expandvars() no longer loses unbalanced single quotes.Serhiy Storchaka2015-03-253-1/+4
|
* Issue #23571: If io.TextIOWrapper constructor fails in _Py_DisplaySourceLine(),Victor Stinner2015-03-251-1/+8
| | | | close the binary file to fix a resource warning.
* Issue #23571: Fix reentrant call to Py_FatalError()Victor Stinner2015-03-251-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 Storchaka2015-03-242-6/+6
|
* Issue #21802: The reader in BufferedRWPair now is closed even when closingSerhiy Storchaka2015-03-244-6/+64
| | | | writer failed in BufferedRWPair.close().
* Issue #23671: string.Template now allows to specify the "self" parameter asSerhiy Storchaka2015-03-244-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 Storchaka2015-03-241-0/+150
|
* Issue #23583: Added tests for standard IO streams in IDLE.Serhiy Storchaka2015-03-242-0/+238
|
* Issue #23571: Py_FatalError() now tries to flush sys.stdout and sys.stderrVictor Stinner2015-03-241-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 Stinner2015-03-241-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 Melotti2015-03-242-37/+29
|
* Issue #23654: Fix faulthandler._stack_overflow() for the Intel C Compiler (ICC)Victor Stinner2015-03-232-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 causeSerhiy Storchaka2015-03-233-2/+38
| | | | GzipFile corruption. Original patch by Wolfgang Maier.
* Issue 23729: Document ElementTree namespace handling and fix an omission in ↵Raymond Hettinger2015-03-221-0/+68
| | | | the XPATH predicate table.
* #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes.R David Murray2015-03-222-5/+8
|
* #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None.R David Murray2015-03-225-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 commentR David Murray2015-03-221-2/+4
|
* clarify behavior of shutil.move when destination exists (closes #22933)Benjamin Peterson2015-03-221-6/+3
| | | | Patch by Mike Short.
* Issue #22289: Prevent test_urllib2net failures due to ftp connection timeout.Ned Deily2015-03-222-1/+4
|
* Issue #22079: Deprecation warning now is issued in PyType_Ready() instead ofSerhiy Storchaka2015-03-221-5/+8
| | | | | raising TypeError when statically allocated type subclasses dynamically allocated type