[issue27540] msvcrt.ungetwch() calls _ungetch()

Armin Rigo report at bugs.python.org
Sun Jul 17 15:39:25 EDT 2016


Armin Rigo added the comment:

Uh, you're right.  Then I can also add that putwch() strangely checks for unicode strings of length != 0 instead of == 1, despite what it says it its error message.  These functions appear not to be tested or even (in case of ungetwch()) used by anyone.

----------

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


More information about the Python-bugs-list mailing list