Bill Janssen wrote: > Not bad, but if you're going that route, I think I'd get rid of the > optional arguments, and just say > > seek_from_beginning(INCR: int) > > seek_from_current(INCR: int) > > seek_from_end(DECR: int)
I don't like it. It's too noisy and too much to type. My mini proposal has the benefit that it is backward compatible. Besides your arguments names aren't correct. seek_from_current can be negative to seek backward and seek_from_end can be positive to enlarge a file. On some OS a seek after EOF creates a sparse file. _______________________________________________ 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