[issue8070] Infinite loop in PyRun_InteractiveLoopFlags() if PyRun_InteractiveOneFlags() raises an error
Tim Lesher
report at bugs.python.org
Sun Mar 11 19:31:56 CET 2012
Tim Lesher <tlesher at gmail.com> added the comment:
Updated patch: use Py_FileSystemDefaultEncoding (if possible) when sys.stdin is (or becomes) invalid; if none, then fails without entering infinite loop. Docs for PyRun_InteractiveLoopFlags have been updated.
----------
Added file: http://bugs.python.org/file24785/8070-use-default-encoding.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8070>
_______________________________________
More information about the Python-bugs-list
mailing list