Message97090
I agree with Florian Mayer that the encoding handling should be
stream-specific. You could easily be reading the stdout of some third
party program that uses, say, latin1, but want to do your own output in,
say, utf-8.
One solution that builds on what Amaury Forgeot d'Arc has done (i.e.,
the encoding and errors parameters) by allowing those parameters to
accept either a single string (as now), or a dict with keys 'stdin',
'stdout', 'stderr'. Of course it is possible that the client might not
specify all the dict's keys in which case those would use the normal
default (local 8-bit etc.) |
|
Date |
User |
Action |
Args |
2009-12-31 12:58:15 | mark | set | recipients:
+ mark, amaury.forgeotdarc, pitrou, segfaulthunter, srid, mightyiam |
2009-12-31 12:58:15 | mark | set | messageid: <1262264295.32.0.478693706994.issue6135@psf.upfronthosting.co.za> |
2009-12-31 12:58:13 | mark | link | issue6135 messages |
2009-12-31 12:58:13 | mark | create | |
|