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.3215554e-09
Marked as misclassified No
Message-id <1232494241.37.0.791971329332.issue5008@psf.upfronthosting.co.za>
In-reply-to
Content
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 :-)
History
Date User Action Args
2009-01-20 23:30:41vstinnersetrecipients: + vstinner, pitrou
2009-01-20 23:30:41vstinnersetmessageid: <1232494241.37.0.791971329332.issue5008@psf.upfronthosting.co.za>
2009-01-20 23:30:40vstinnerlinkissue5008 messages
2009-01-20 23:30:40vstinnercreate