On Sat, Sep 09, 2006 at 12:24:10AM +0200, Antoine Pitrou wrote: > Le vendredi 08 septembre 2006 ? 15:04 -0400, Jim Jewett a ?crit : > > > What about seek(), seek_relative() and seek_reverse() ? > > > > Why not just borrow the standard symbolic names of cur and end? > > > > seek(pos=0) > > seek_cur(pos=0) > > seek_end(pos=0)
I like the C-ish style because I'm used to it. These are OK so long as seek(n, 2) raises an informative exception. I was initially going to suggest seek_abs() for the absolute seek but if it remains plain seek() old users won't have to go searching docs and help() would be .. helpful. -Jack _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
