Message125370
amaury> r87733 in pyexpat.c modified a call to PyErr_Format with a %zi
amaury> format code. This format does not seem to be supported. %zd
amaury> should be used instead.
Oh, that's surprising. Why %zd is supported but not %zi?
PyUnicode_FromFormatV() supports %d, %ld, %lld, %zd, %i, but not %li, %lli or %zi. Before fixing PyUnicode_FromFormatV(), I fixed pyexpat.c: r87747.
MvL> If you are absolutely certain that a cast cannot possibly truncate,
MvL> add a comment explaining why that is.
Ah yes, sorry, I forgot to add a comment: done in r87746. |
|
Date |
User |
Action |
Args |
2011-01-04 22:02:51 | vstinner | set | recipients:
+ vstinner, loewis, amaury.forgeotdarc, pitrou, schmir, brian.curtin, janglin |
2011-01-04 22:02:51 | vstinner | set | messageid: <1294178571.15.0.908274924182.issue9566@psf.upfronthosting.co.za> |
2011-01-04 22:02:46 | vstinner | link | issue9566 messages |
2011-01-04 22:02:46 | vstinner | create | |
|