[issue8571] zlib causes a SystemError when decompressing a chunk >1GB

Antoine Pitrou report at bugs.python.org
Fri May 7 18:46:41 CEST 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

> Is there a reason to keep inplen and max_length ints instead of making
> them Py_ssize_t too?

zlibmodule.c isn't 64-bit clean internally. Actually, the zlib itself
uses uInt in its z_stream structure. This should be the target of a
separate issue, and seems it will require more work than simply changing
the type of a variable.

----------

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


More information about the Python-bugs-list mailing list