[issue17620] Python interactive console doesn't use sys.stdin for input

Drekin report at bugs.python.org
Fri Jul 18 17:09:34 CEST 2014


Drekin added the comment:

There is still the serious inconsistency that the `sys.stdin` is not used for input by interactive loop but its encoding is. So if I replace `sys.stdin` with a custom object with its own `encoding` attribute, the standard interactive loop tries to use this encoding which may result in an exception on any input.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17620>
_______________________________________


More information about the Python-bugs-list mailing list