[issue9290] IDLE and Command line present different behavior for sys.stdin

a report at bugs.python.org
Sun Mar 11 16:49:17 CET 2012


a <nawilson at excite.com> added the comment:

Other quirks apparently caused by this bug:

msvcrt.getch() does not block and wait for a keypress in IDLE.  Returns immediately with b'\xff'.

Some of the suggested usage in the manual for sys.stdin does not work under IDLE.  E.g. sys.stdin.detach() doesn't work in IDLE.  On this last point, the manual has a caveat in the last line of the sys.stdin description that could exonerate it.  Regardless, the behavior is inconsistent and makes for awkward UI when using IDLE.

----------
nosy: +a
versions: +Python 3.2 -Python 3.1

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


More information about the Python-bugs-list mailing list