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.

Author paul.moore
Recipients paul.moore, r.david.murray, steve.dower, tim.golden, vstinner, zach.ware
Date 2015-04-09.20:51:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428612675.94.0.294388598372.issue23901@psf.upfronthosting.co.za>
In-reply-to
Content
Doh. That latter approach (a RawIOBase implementation) is *precisely* what win_unicode_console does for stdout (using utf16le rather than utf8 as that's the native Windows encoding used by WriteConsole). So (a) yes it would work, and (b) it has already demonstrated in the wild that the approach is viable.

(Actually, a C implementation of this approach might be a better way of implementing this anyway, rather than relying on a relatively obscure C runtime feature).
History
Date User Action Args
2015-04-09 20:51:15paul.mooresetrecipients: + paul.moore, vstinner, tim.golden, r.david.murray, zach.ware, steve.dower
2015-04-09 20:51:15paul.mooresetmessageid: <1428612675.94.0.294388598372.issue23901@psf.upfronthosting.co.za>
2015-04-09 20:51:15paul.moorelinkissue23901 messages
2015-04-09 20:51:15paul.moorecreate