Guido van Rossum added the comment:

I propose not to mess with GNU readline.  But that doesn't mean we can't try to 
fix this issue by detecting that sys.stdin has changed and use it if it isn't 
referring to the original process stdin.  It will be tricky however to make 
sure nothing breaks.

(The passage quoted from the GNU readline docs seems to imply that it's in 
non-blocking mode, and that the FD is a raw tty device, probably with echo off. 
 It will give escape sequences for e.g. arrow keys.)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17620>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to