[issue3479] unichr integer overflow

Amaury Forgeot d'Arc report at bugs.python.org
Thu Jul 31 17:20:51 CEST 2008


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

Confirmed. 
This happens on architectures where sizeof(long) > sizeof(int):
builtin_unichr() converts its argument to a long, but calls
PyUnicode_FromOrdinal() which accepts an int.

----------
assignee:  -> amaury.forgeotdarc
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3479>
_______________________________________


More information about the Python-bugs-list mailing list