This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients christian.heimes, ronaldoussoren, serhiy.storchaka, tobiasmarschall
Date 2013-07-11.10:45:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1373539539.96.0.364155863838.issue18427@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-07-11 10:45:39ronaldoussorensetrecipients: + ronaldoussoren, christian.heimes, serhiy.storchaka, tobiasmarschall
2013-07-11 10:45:39ronaldoussorensetmessageid: <1373539539.96.0.364155863838.issue18427@psf.upfronthosting.co.za>
2013-07-11 10:45:39ronaldoussorenlinkissue18427 messages
2013-07-11 10:45:39ronaldoussorencreate