Bill Janssen wrote: > Where would the standalone function live? How would it be associated > with whatever open() returns?
Three possibilities come to mind: a) builtin b) imported from a module c) static function of the file type Since there will probably be a number of such functions (readlines, readbytes, readblocks, etc.) I'd probably vote for b) and have a module such as 'files' or 'filetools' to hold generically-implemented file-related functions. -- Greg _______________________________________________ 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
