- 01 Apr, 2015 3 commits
-
-
Serhiy Storchaka authored
MemoryError.
-
Serhiy Storchaka authored
multiple threads.
-
Benjamin Peterson authored
Patch by Martin Panter.
-
- 31 Mar, 2015 3 commits
-
-
Serhiy Storchaka authored
Added WindowsError to compatibility mappings.
-
Serhiy Storchaka authored
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.
-
Raymond Hettinger authored
-
- 30 Mar, 2015 5 commits
-
-
R David Murray authored
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.
-
Victor Stinner authored
(OpenBSD 5.6+).
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
MemoryError.
-
R David Murray authored
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...
-
- 29 Mar, 2015 4 commits
-
-
Serhiy Storchaka authored
directories are left after running a test.
-
Donald Stufft authored
-
R David Murray authored
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.)
-
Serhiy Storchaka authored
is wider then partitioned string.
-
- 28 Mar, 2015 1 commit
-
-
Serhiy Storchaka authored
Free memory, unlock hanging threads.
-
- 27 Mar, 2015 2 commits
-
-
Victor Stinner authored
-Og does not optimize the C code, it's just "fast debugging".
-
Victor Stinner authored
-
- 25 Mar, 2015 4 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Victor Stinner authored
close the binary file to fix a resource warning.
-
Victor Stinner authored
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.
-
- 24 Mar, 2015 8 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
writer failed in BufferedRWPair.close().
-
Serhiy Storchaka authored
keyword argument. string.Formatter now allows to specify the "self" and the "format_string" parameters as keyword arguments.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Victor Stinner authored
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.
-
Victor Stinner authored
* 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
-
Ezio Melotti authored
-
- 23 Mar, 2015 2 commits
-
-
Victor Stinner authored
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.
-
Serhiy Storchaka authored
GzipFile corruption. Original patch by Wolfgang Maier.
-
- 22 Mar, 2015 7 commits
-
-
Raymond Hettinger authored
Issue 23729: Document ElementTree namespace handling and fix an omission in the XPATH predicate table.
-
R David Murray authored
-
R David Murray authored
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.
-
R David Murray authored
-
Benjamin Peterson authored
Patch by Mike Short.
-
Ned Deily authored
-
Serhiy Storchaka authored
raising TypeError when statically allocated type subclasses dynamically allocated type
-
- 21 Mar, 2015 1 commit
-
-
Serhiy Storchaka authored
and socket open until the garbage collector cleans them up. Patch by Martin Panter.
-