Tim Lesher <tles...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue8070> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com