Message379380
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). |
|
Date |
User |
Action |
Args |
2020-10-22 23:22:40 | eryksun | set | recipients:
+ eryksun, techtonik, benjamin.peterson |
2020-10-22 23:22:40 | eryksun | set | messageid: <1603408960.44.0.0774712425222.issue11646@roundup.psfhosted.org> |
2020-10-22 23:22:40 | eryksun | link | issue11646 messages |
2020-10-22 23:22:40 | eryksun | create | |
|