Message85455
> There seems to be a problem with ungetwch()
I tested Visual C++ Express 2008 and it looks like _ungetwch() only
keep 8 lower bits (like _ungetwch(x & 255)). But it's a bug in
Microsoft library, not in Python code (I added some printf to be
sure).
My patch (msvcrt_wchar.patch) makes the situation better, but it's not
perfect because of a bug in Microsoft's library.
msvcrt.getwch() works correctly with characters with code > 255 (eg.
euro sign, U+20ac, 8364 in decimal). |
|
Date |
User |
Action |
Args |
2009-04-05 00:39:59 | vstinner | set | recipients:
+ vstinner, pitrou, ocean-city, benjamin.peterson |
2009-04-05 00:39:58 | vstinner | set | messageid: <1238891998.79.0.200853751869.issue5410@psf.upfronthosting.co.za> |
2009-04-05 00:39:56 | vstinner | link | issue5410 messages |
2009-04-05 00:39:56 | vstinner | create | |
|