Message145963
win_console.patch: a more complete prototype
* patch the site module to replace sys.stdout and sys.stderr by UnicodeConsole and BytesConsole classes which use WriteConsoleW and WriteConsoleA
* UnicodeConsole inherits from io.TextIOBase and BytesConsole inherits from io.RawIOBase
* Revert the workaround for WriteConsoleA bug from io.FileIO
sys.stdout and/or sys.stderr are only replaced if there are not redirected. |
|
Date |
User |
Action |
Args |
2011-10-19 20:57:39 | vstinner | set | recipients:
+ vstinner, lemburg, mhammond, terry.reedy, tzot, amaury.forgeotdarc, pitrou, christian.heimes, tim.golden, mark, christoph, ezio.melotti, v+python, hippietrail, ssbarnea, brian.curtin, davidsarah, santoso.wijaya, David.Sankel, smerlin |
2011-10-19 20:57:39 | vstinner | set | messageid: <1319057859.21.0.80601460291.issue1602@psf.upfronthosting.co.za> |
2011-10-19 20:57:38 | vstinner | link | issue1602 messages |
2011-10-19 20:57:38 | vstinner | create | |
|