]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
#3479: unichr(2**32) used to return u'\x00'.
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 31 Jul 2008 21:28:03 +0000 (21:28 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Thu, 31 Jul 2008 21:28:03 +0000 (21:28 +0000)
commit39fd672dfe0bea76d0ae5823b864460757cb423b
tree291455c98dccac778c5780b1eb4b0cf5f0da3dca
parente7d8be80ba634fa15ece6f503c33592e0d333361
#3479: unichr(2**32) used to return u'\x00'.
The argument was fetched in a long, but PyUnicode_FromOrdinal takes an int.

(why doesn't gcc issue a truncation warning in this case?)
Lib/test/test_builtin.py
Misc/NEWS
Python/bltinmodule.c