Message80294
| 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:41 | vstinner | set | recipients: + vstinner, pitrou |
| 2009-01-20 23:30:41 | vstinner | set | messageid: <1232494241.37.0.791971329332.issue5008@psf.upfronthosting.co.za> |
| 2009-01-20 23:30:40 | vstinner | link | issue5008 messages |
| 2009-01-20 23:30:40 | vstinner | create | |