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.

作者 vstinner
收信人 David.Sankel, amaury.forgeotdarc, brian.curtin, christian.heimes, christoph, davidsarah, ezio.melotti, hippietrail, lemburg, mark, mhammond, pitrou, santoso.wijaya, smerlin, ssbarnea, terry.reedy, tim.golden, tzot, v+python, vstinner
日期 2011-10-19.20:57:38
SpamBayes Score 0.00022466634
Marked as misclassified
Message-id <1319057859.21.0.80601460291.issue1602@psf.upfronthosting.co.za>
In-reply-to
内容
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.
历史
日期 用户 动作 参数
2011-10-19 20:57:39vstinner修改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:39vstinner修改messageid: <1319057859.21.0.80601460291.issue1602@psf.upfronthosting.co.za>
2011-10-19 20:57:38vstinner链接issue1602 messages
2011-10-19 20:57:38vstinner创建