[issue12559] gzip.open() needs an optional encoding argument

Daniel Urban report at bugs.python.org
Fri Jul 15 21:16:30 CEST 2011


Daniel Urban <urban.dani+py at gmail.com> added the comment:

> If we go this way, the "errors" and "newline" argument should be added
> as well.

Yeah, I thought about that. I can make a new patch, that implement this, if needed. Though it seems there is a real problem, the one that Amaury Forgeot d'Arc mentioned. I can't think of a way to solve it in a backwards compatible way.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12559>
_______________________________________


More information about the Python-bugs-list mailing list