[issue1688] Incorrectly displayed non ascii characters in prompt using "input()" - Python 3.0a2

Martin v. Löwis report at bugs.python.org
Thu Jan 3 20:18:31 CET 2008


Martin v. Löwis added the comment:

If possible, I would like to see the C library phased out of Python on
Windows, for file I/O. In this case, it would mean that ReadConsoleW is
used directly for character input. Notice that _cgetws does not take a
file handle as a parameter, but implicitly uses _coninpfh.

As a consequence, PyOS_StdioReadline probably should change its
parameter from FILE* to "file handle", and consequently rename it to,
say, PyOS_Readline.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1688>
__________________________________


More information about the Python-bugs-list mailing list