Message291283
In Python 3, gzip.open(filename, "rt") returns a TextIOWrapper using the system's default encoding. The decoded output is potentially very different from the byte string returned by 'text mode' in Python 2, even if using "rt" mode didn't result in the nonsensical "rtb" mode. I suggest using the default binary mode, and manually wrapping the file in an io.TextIOWrapper. |
|
Date |
User |
Action |
Args |
2017-04-07 18:23:44 | eryksun | set | recipients:
+ eryksun, r.david.murray, maubp |
2017-04-07 18:23:44 | eryksun | set | messageid: <1491589424.15.0.0667227280552.issue30012@psf.upfronthosting.co.za> |
2017-04-07 18:23:44 | eryksun | link | issue30012 messages |
2017-04-07 18:23:44 | eryksun | create | |
|