[Python-3000] iostack, second revision

Nick Coghlan ncoghlan at gmail.com
Fri Sep 8 19:00:33 CEST 2006


Guido van Rossum wrote:
> Maybe (since I fall in that category it doesn't bother me :-), but we
> shouldn't replace them with symbolic constants. Having to import
> another module to import names like SEEK_CUR and SEEK_END is not
> Pythonic. Perhaps the seek() method can grow keyword arguments to
> indicate the different types of seekage, or there should be three
> separate methods.

As I mentioned in a different part of the thread, I believe seek(), seekby() 
and rseek() would work as names for the 3 different method approach.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org


More information about the Python-3000 mailing list