On Mon, 12 Jul 2010 12:01:07 am Steve Holden wrote:
> My own inclination would be to regard the current treatment of file:
> as a bug (albeit one not worth fixing on 2.x). 
...
> Presumably a 
> hostname in such a URI would require that some host-specific protocol
> be used (but this should be an access protocol like SMB or NFS, not a
> transfer protocol like FTP).

KDE uses SMB for non-local hostnames in file URIs.

> It seems pretty clear that randomly interpreting particular host
> names to imply a specific remote-access protocol like FTP is bogus.

Agreed. The right behaviour is to raise an exception and let the caller 
deal with it, or provide a means to register an alternative.



-- 
Steven D'Aprano
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to