[issue22207] Test for integer overflow on Py_ssize_t: explicitly cast to size_t

Serhiy Storchaka report at bugs.python.org
Sun Aug 24 12:19:10 CEST 2014


Serhiy Storchaka added the comment:

I think there are too many changes. Here is simpler patch which get rid of all warnings in Objects/unicodeobject.c on my computer (gcc 4.6.3, 32-bit Linux).

----------
Added file: http://bugs.python.org/file36451/unicode_2.patch

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


More information about the Python-bugs-list mailing list