commit | 39fd672dfe0bea76d0ae5823b864460757cb423b | [log] [tgz] |
---|---|---|
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Thu Jul 31 21:28:03 2008 +0000 |
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | Thu Jul 31 21:28:03 2008 +0000 |
tree | 291455c98dccac778c5780b1eb4b0cf5f0da3dca | |
parent | e7d8be80ba634fa15ece6f503c33592e0d333361 [diff] |
#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?)