[issue12559] gzip.open() needs an optional encoding argument
Amaury Forgeot d'Arc
report at bugs.python.org
Thu Jul 14 22:44:14 CEST 2011
Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:
There remains a difference between open() and gzip.open():
open(filename, 'r', encoding=None) is a text file (with a default encoding), gzip.open() with the same arguments returns a binary file.
Don't know how to fix this though.
----------
nosy: +amaury.forgeotdarc
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12559>
_______________________________________
More information about the Python-bugs-list
mailing list