> How would I seek to EOF with your proposal? seek(-0)?

Good point.  Though I just grepped all my Python sources, and I never
do that, so presumably the obvious workaround of

   seek_eof = lambda fp: fp.seek(-1), fp.nudge(+1)

would be OK for that case.

Bill
_______________________________________________
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