[Python-ideas] file API

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Sep 28 04:07:25 CEST 2012


Jim Jewett wrote:

> For text files, I would expect it to be a character count rather than
> a byte count.  So this particular proposal might end up adding as much
> confusion as it hopes to remove.

I'm given to understand that the file positions used by
the C standard library are supposed to be treated as
opaque tokens -- you're not guaranteed to be able to
perform arithmetic on them.

-- 
Greg



More information about the Python-ideas mailing list