diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2007-11-30 20:51:40 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2007-11-30 20:51:40 (GMT) |
commit | dafd32b730c246b76a28e4089253e3a2b614df58 (patch) | |
tree | 740fe6b260b2daa3de96b66140941337954d5bf3 /Misc/NEWS | |
parent | be49a90eb3c54bd29a8bf3da5875db26d2fa2924 (diff) | |
download | cpython-dafd32b730c246b76a28e4089253e3a2b614df58.zip cpython-dafd32b730c246b76a28e4089253e3a2b614df58.tar.gz cpython-dafd32b730c246b76a28e4089253e3a2b614df58.tar.bz2 |
Issue #1521: on 64bit platforms, str.decode fails on very long strings.
The t# and w# formats were not correctly handled.
Will backport.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -12,6 +12,11 @@ What's New in Python 2.6 alpha 1? Core and builtins ----------------- +- Issue #1521: On 64bit platforms, using PyArgs_ParseTuple with the t# of w# + format code incorrectly truncated the length to an int, even when + PY_SSIZE_T_CLEAN is set. The str.decode method used to return incorrect + results with huge strings. + - Issue #1402: Fix a crash on exit, when another thread is still running, and if the deallocation of its frames somehow calls the PyGILState_Ensure() / PyGILState_Release() functions. |