Takeshi Yoshino tyosh...@google.com added the comment:
Thank you for the fix!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12050
___
___
Roundup Robot devnull@devnull added the comment:
New changeset 6a45567c7245 by Nadeem Vawda in branch '3.1':
Issue #12050: zlib.decompressobj().decompress() now clears the unconsumed_tail
http://hg.python.org/cpython/rev/6a45567c7245
New changeset 49c998a88777 by Nadeem Vawda in branch '3.2':
Roundup Robot devnull@devnull added the comment:
New changeset 24543f7a87ce by Nadeem Vawda in branch '2.7':
Issue #12050: zlib.decompressobj().decompress() now clears the unconsumed_tail
http://hg.python.org/cpython/rev/24543f7a87ce
--
___
Python
Nadeem Vawda nadeem.va...@gmail.com added the comment:
The code has been fixed. Once again, thanks for the bug report.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12050
___
___
Python-bugs-list mailing list
New submission from Takeshi Yoshino tyosh...@google.com:
http://docs.python.org/library/zlib.html
says
If max_length is not supplied then the whole input is decompressed, and
unconsumed_tail is an empty string.
However, if there's preceding decompress call with max_length specified,
Nadeem Vawda nadeem.va...@gmail.com added the comment:
Thanks for the bug report. It seems that the code needs fixing. I'll look
into it this weekend.
--
assignee: - nadeem.vawda
nosy: +nadeem.vawda
stage: - needs patch
versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3 -Python