[Python-3000] On PEP 3116: new I/O base classes
Christian Heimes
lists at cheimes.de
Wed Jun 20 02:29:01 CEST 2007
Bill Janssen wrote:
> The "seek" method on RawIOBase is awfully quaint and UNIX-y, what with
> the "whence" argument. It could be made considerably more Pythonic by
> splitting it into two methods:
>
> .seek(POS: int)
>
> where positive values for POS are from the beginning of the file, and
> negative values of POS are from the end of the file, and
How would I seek to EOF with your proposal? seek(-0)?
Christian
More information about the Python-3000
mailing list