[path-PEP] Path inherits from basestring again

Michael Hoffman cam.ac.uk at mh391.invalid
Sun Jul 24 04:41:28 EDT 2005


Peter Hansen wrote:

> Point taken.  What about ditching the "file" part, since it is redundant 
> and obvious that a file is in fact what is being accessed.  Thus: 
> .read_bytes(), .read_text(), .write_lines() etc.

+1. Although I've always been somewhat -0 on these methods to start with.
-- 
Michael Hoffman



More information about the Python-list mailing list