[Python-Dev] PEP 355 status

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Oct 26 02:52:29 CEST 2006


Talin wrote:
> Ideally, you should be able to pass 
> "file:///..." to a regular "open" function.

I'm not so sure about that. Consider that "file:///foo.bar"
is a valid relative pathname on Unix to a file called "foo.bar"
in a directory called "file:".

That's not to say there shouldn't be a function available
that understands it, but I wouldn't want it built into
all functions that take pathnames.

--
Greg


More information about the Python-Dev mailing list