This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients benjamin.peterson, eryksun, techtonik
Date 2020-10-22.23:22:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603408960.44.0.0774712425222.issue11646@roundup.psfhosted.org>
In-reply-to
Content
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).
History
Date User Action Args
2020-10-22 23:22:40eryksunsetrecipients: + eryksun, techtonik, benjamin.peterson
2020-10-22 23:22:40eryksunsetmessageid: <1603408960.44.0.0774712425222.issue11646@roundup.psfhosted.org>
2020-10-22 23:22:40eryksunlinkissue11646 messages
2020-10-22 23:22:40eryksuncreate