- 29 Mar, 2015 3 kayıt (commit)
-
-
Donald Stufft yazdı
-
R David Murray yazdı
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 yazdı
is wider then partitioned string.
-
- 28 Mar, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Free memory, unlock hanging threads.
-
- 27 Mar, 2015 2 kayıt (commit)
-
-
Victor Stinner yazdı
-Og does not optimize the C code, it's just "fast debugging".
-
Victor Stinner yazdı
-
- 25 Mar, 2015 4 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Victor Stinner yazdı
close the binary file to fix a resource warning.
-
Victor Stinner yazdı
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 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
writer failed in BufferedRWPair.close().
-
Serhiy Storchaka yazdı
keyword argument. string.Formatter now allows to specify the "self" and the "format_string" parameters as keyword arguments.
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Victor Stinner yazdı
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 yazdı
* 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 yazdı
-
- 23 Mar, 2015 2 kayıt (commit)
-
-
Victor Stinner yazdı
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 yazdı
GzipFile corruption. Original patch by Wolfgang Maier.
-
- 22 Mar, 2015 7 kayıt (commit)
-
-
Raymond Hettinger yazdı
Issue 23729: Document ElementTree namespace handling and fix an omission in the XPATH predicate table.
-
R David Murray yazdı
-
R David Murray yazdı
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 yazdı
-
Benjamin Peterson yazdı
Patch by Mike Short.
-
Ned Deily yazdı
-
Serhiy Storchaka yazdı
raising TypeError when statically allocated type subclasses dynamically allocated type
-
- 21 Mar, 2015 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
and socket open until the garbage collector cleans them up. Patch by Martin Panter.
-
- 20 Mar, 2015 3 kayıt (commit)
-
-
R David Murray yazdı
Being able to read non-python text files is not a purpose of linecache, but it does work and people use it. This changeset adjusts the language to make it clear that Python files are not treated uniquely, but does not go so far as to say reading non-python files is explicitly supported.
-
Serhiy Storchaka yazdı
Indexing bytes retiurns an integer, not bytes.
-
Serhiy Storchaka yazdı
some circunstances while NamedTemporaryFile object was living. This causes failing test_csv. Changed the implementation of NamedTemporaryFile.__iter__ to make tests passed.
-
- 19 Mar, 2015 6 kayıt (commit)
-
-
Ned Deily yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
Jan 30 of previous year. Based on patch by Jim Carroll.
-
Serhiy Storchaka yazdı
NamedTemporaryFile instance. Patch by Bohuslav Kabrda.
-
Benjamin Peterson yazdı
-
Ethan Furman yazdı
add private method to enum to support replacing global constants with Enum members: - search for candidate constants via supplied filter - create new enum class and members - insert enum class and replace constants with members via supplied module name - replace __reduce_ex__ with function that returns member name, so previous Python versions can unpickle modify IntEnum classes to use new method
-
- 18 Mar, 2015 3 kayıt (commit)
-
-
Antoine Pitrou yazdı
Issue #22903: The fake test case created by unittest.loader when it fails importing a test module is now picklable.
-
Antoine Pitrou yazdı
-
Victor Stinner yazdı
-