This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xiang.zhang
Recipients Jack.McCracken, Klamann, martin.panter, nadeem.vawda, xiang.zhang
Date 2016-06-27.09:12:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1467018761.38.0.453054774926.issue27130@psf.upfronthosting.co.za>
In-reply-to
Content
This is the v8 patch. It does two things:

[1] Apply Martin's comment about decompressobj.decompress so when user passes in PY_SSIZE_T_MAX and there is enough memory, no error will be raised.

[2] Now decompressobj.flush can still work even if decompressobj.unconsumed_tail is larger than 4GiB. This needs two changes. First is we don't always use Z_FINISH. Second is we need to change save_unconsumed_input to support 64bit. Before we didn't realize this. Corresponding tests are added.
History
Date User Action Args
2016-06-27 09:12:43xiang.zhangsetrecipients: + xiang.zhang, nadeem.vawda, martin.panter, Jack.McCracken, Klamann
2016-06-27 09:12:41xiang.zhangsetmessageid: <1467018761.38.0.453054774926.issue27130@psf.upfronthosting.co.za>
2016-06-27 09:12:41xiang.zhanglinkissue27130 messages
2016-06-27 09:12:41xiang.zhangcreate