
report at bugs
Oct 27, 2009, 11:49 PM
Post #1 of 15
(654 views)
Permalink
|
|
[issue7228] %lld for PyErr_Format (Modules/_io/bufferedio.c)
|
|
New submission from Hirokazu Yamamoto <ocean-city [at] m2>: Hello. There is following sentence in Modules/_io/bufferedio.c, PyErr_Format(PyExc_IOError, "Raw stream returned invalid position %" PY_PRIdOFF, (PY_OFF_T_COMPAT)n); and PY_PRIdOFF == "lld" when sizeof(off_t) == sizeof(long long). But it seems that PyErr_Format doesn't support lld as specifier. I noticed this because # define PY_OFF_T_COMPAT long long caused compile error on my good old VC6. ;-) (VC6 doesn't have it) ---------- messages: 94601 nosy: mark.dickinson, ocean-city severity: normal status: open title: %lld for PyErr_Format (Modules/_io/bufferedio.c) versions: Python 2.7 _______________________________________ Python tracker <report [at] bugs> <http://bugs.python.org/issue7228> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|