Message80294
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:41 | vstinner | set | recipients:
+ vstinner, pitrou |
| 2009-01-20 23:30:41 | vstinner | set | messageid: <[email protected]> |
| 2009-01-20 23:30:40 | vstinner | link | issue5008 messages |
| 2009-01-20 23:30:40 | vstinner | create | |
|