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.

作者 pitrou
收信人 loewis, pitrou, vstinner
日期 2010-05-07.17:24:54
SpamBayes Score 0.0024479304
Marked as misclassified
Message-id <1273253096.48.0.301498355728.issue8651@psf.upfronthosting.co.za>
In-reply-to
内容
When PY_SSIZE_T isn't defined and a format such as "s#" receives an object whose length fits in a Py_ssize_t but not in an int, the buffer length is silently truncated:

>>> s = 'x' * (4 * 1024**3 + 100)
>>> t = zlib.compress(s, 1)
>>> len(t)
12
>>> len(zlib.decompress(t))
100

(from issue8650)
历史
日期 用户 动作 参数
2010-05-07 17:24:56pitrou修改recipients: + pitrou, loewis, vstinner
2010-05-07 17:24:56pitrou修改messageid: <1273253096.48.0.301498355728.issue8651@psf.upfronthosting.co.za>
2010-05-07 17:24:54pitrou链接issue8651 messages
2010-05-07 17:24:54pitrou创建