Fredrik Lundh wrote:

> that's how seek/tell works on text files in today's Python, of course. 
> if you're writing portable code, you can only seek to the beginning or 
> end of the file, or to a position returned to you by tell.

True, but with arbitrary stacks of stream-transforming
objects the value might need to be even more opaque,
since it might need to encapsulate internal states of
decoders, etc. Could be very messy.

--
Greg
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to