Ronald Oussoren added the comment:

There is also this one in string_print:

        fwrite(data, 1, (int)size, fp);

"size" is a Py_ssize_t variable with the length of the string, and is casted to 
int which looses information. The exected argument to fwrite is size_t...

These two appear to be the only suspect uses of 'int' in stringobject.h.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18427>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to