[New-bugs-announce] [issue11646] 2to3: msvcrt.(get|put)ch -> (get|put)wch
anatoly techtonik
report at bugs.python.org
Wed Mar 23 01:20:45 CET 2011
New submission from anatoly techtonik <techtonik at gmail.com>:
msvcrt function calls need to be renamed to unicode equivalents, because now they return bytes, which doesn't support string methods used to process the output (e.g. lower()).
http://docs.python.org/py3k/library/msvcrt.html
msvcrt.getch() -> msvcrt.getwch()
msvcrt.getche() -> msvcrt.getwche()
msvcrt.putch() -> msvcrt.putwch()
msvcrt.ungetch() -> msvcrt.ungetwch()
----------
components: 2to3 (2.x to 3.0 conversion tool)
messages: 131820
nosy: techtonik
priority: normal
severity: normal
status: open
title: 2to3: msvcrt.(get|put)ch -> (get|put)wch
versions: Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11646>
_______________________________________
More information about the New-bugs-announce
mailing list