diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-07-31 21:28:03 +0000 |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-07-31 21:28:03 +0000 |
commit | 39fd672dfe0bea76d0ae5823b864460757cb423b (patch) | |
tree | 291455c98dccac778c5780b1eb4b0cf5f0da3dca /Lib/test/test_exceptions.py | |
parent | e7d8be80ba634fa15ece6f503c33592e0d333361 (diff) | |
download | cpython-git-39fd672dfe0bea76d0ae5823b864460757cb423b.tar.gz |
#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?)
Diffstat (limited to 'Lib/test/test_exceptions.py')
0 files changed, 0 insertions, 0 deletions