[Distutils] Round 6 - PEP 440 - Version Identification and Dependency Specification Version

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Aug 10 02:03:15 CEST 2014


Paul Moore wrote:
> FWIW, it looks like file:////myserver/share/WINDOWS/clock.avi is how
> you'd refer to \\myserver\share\WINDOWS\clock.avi.

Where did you get that from? According to this it's wrong:

http://blogs.msdn.com/b/ie/archive/2006/12/06/file-uris-in-windows.aspx

It should be

    file://myserver/share/WINDOWS/clock.avi

i.e. the hosthame part of the path goes into the hostname
part of the URI, which makes sense.

If the path uses a drive letter instead, there is no
hostname, so that part of the URI is empty, resulting in
three consecutive slashes:

    file:///c:/WINDOWS/clock.avi

-- 
Greg


More information about the Distutils-SIG mailing list