Message111063
gzip.open() only implements the "rb" mode, and returns bytes.
fileinput could certainly wrap it with a io.TextIOWrapper.
Then the encoding issue arises.
fileinput.FileInput should grow an "encoding" parameter instead of always relying on the default encoding. |
|
Date |
User |
Action |
Args |
2010-07-21 14:23:59 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, mnewman |
2010-07-21 14:23:58 | amaury.forgeotdarc | set | messageid: <1279722238.95.0.079450992712.issue5758@psf.upfronthosting.co.za> |
2010-07-21 14:23:43 | amaury.forgeotdarc | link | issue5758 messages |
2010-07-21 14:23:42 | amaury.forgeotdarc | create | |
|