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 <[EMAIL PROTECTED]> <http://bugs.python.org/issue1688> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com