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 vstinner
Recipients pitrou, vstinner
Date 2009-01-20.23:30:39
SpamBayes Score 2.32156e-09
Marked as misclassified No
Message-id <>
Patch version 2:
 - raise raise PyErr_SetFromErrno(PyExc_IOError) on lseek() error
 - add tests for unbuffered binary file and (buffered) text file

I use the type "long" to store the lseek() result, because I don't 
know if off_t is available on all OS. Py_off_t may be used, but it's 
defined above (after fileio_init). fileio_seekable() uses the 
type "int" for lseek() result, which looks worse than long :-)
Date User Action Args
2009-01-20 23:30:41vstinnersetrecipients: + vstinner, pitrou
2009-01-20 23:30:41vstinnersetmessageid: <>
2009-01-20 23:30:40vstinnerlinkissue5008 messages
2009-01-20 23:30:40vstinnercreate