Eryk Sun <eryk...@gmail.com> added the comment:

The bytes type has supported string methods for a long time now. I don't think 
there's anything else to do here. msvcrt.getch() is a low-level I/O function 
like os.read(). It should not be automatically converted to msvcrt.getwch(). 
Unfortunately the function names weren't changed in Python 3. I'd rather that 
msvcrt.getch() returned str and msvcrt.getchb() returned bytes. Then there 
would have actually been something for 2to3 to convert (e.g. getch -> getchb, 
and getwch -> getch).

----------
nosy: +eryksun
resolution:  -> out of date
stage:  -> resolved
status: open -> closed
type:  -> behavior

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue11646>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to