[issue11851] Flushing the standard input causes an error

Alexander Belopolsky report at bugs.python.org
Fri Apr 15 21:52:12 CEST 2011


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

I get the same:


$ python2.7
Python 2.7.1 (r271:86882M, Nov 30 2010, 10:35:34) 
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.stdin.flush()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
IOError: [Errno 9] Bad file descriptor

I'll look further.

----------
assignee:  -> belopolsky
nosy: +belopolsky

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


More information about the Python-bugs-list mailing list