[issue7228] %lld for PyErr_Format (Modules/_io/bufferedio.c)

Hirokazu Yamamoto report at bugs.python.org
Wed Oct 28 08:43:09 CET 2009


Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp> added the comment:

I was late again...? Hmm, I thought Python tracker told me that somebody
else modified this issue. Anyway, printf can use both "%I64" and "%I64d"
for signed 64bit integer, but should use "%I64u" for unsigned 64bit
integer AFAIK.

But PyErr_Format actually calls PyString_FromFormatV, and it's not
treating %lld. So probably we should modify PyString_FromFormatV.

----------

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


More information about the Python-bugs-list mailing list