Author haypo
Recipients David.Sankel, amaury.forgeotdarc, brian.curtin, christian.heimes, christoph, davidsarah, ezio.melotti, haypo, hippietrail, lemburg, mark, mhammond, pitrou, santoso.wijaya, smerlin, sorin, terry.reedy, tim.golden, tzot, v+python
Date 2011-10-19.20:57:38
SpamBayes Score 0.000224666
Marked as misclassified No
Message-id <1319057859.21.0.80601460291.issue1602@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-10-19 20:57:39hayposetrecipients: + haypo, lemburg, mhammond, terry.reedy, tzot, amaury.forgeotdarc, pitrou, christian.heimes, tim.golden, mark, christoph, ezio.melotti, v+python, hippietrail, sorin, brian.curtin, davidsarah, santoso.wijaya, David.Sankel, smerlin
2011-10-19 20:57:39hayposetmessageid: <1319057859.21.0.80601460291.issue1602@psf.upfronthosting.co.za>
2011-10-19 20:57:38haypolinkissue1602 messages
2011-10-19 20:57:38haypocreate