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 ocean-city
Recipients mark.dickinson, ocean-city
Date 2009-10-28.06:49:38
SpamBayes Score 0.029553102
Marked as misclassified No
Message-id <1256712581.76.0.435920152498.issue7228@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2009-10-28 06:49:42ocean-citysetrecipients: + ocean-city, mark.dickinson
2009-10-28 06:49:41ocean-citysetmessageid: <1256712581.76.0.435920152498.issue7228@psf.upfronthosting.co.za>
2009-10-28 06:49:40ocean-citylinkissue7228 messages
2009-10-28 06:49:39ocean-citycreate