[Python-Dev] Can ftp url start with file:// ?

Paul Moore p.f.moore at gmail.com
Fri Jul 9 20:23:05 CEST 2010


On 9 July 2010 19:04, Bill Janssen <janssen at parc.com> wrote:
> If we want to perpetuate these guessing heuristics, I'd suggest using
> FTP if the hostname starts with "ftp.", and HTTP if the hostname starts
> with "www.", and raise an error otherwise.

>From what Tim says, it sounds like guessing is only in 2.x. Removing
the guessing clearly isn't a bug fix, so there's nothing to do in the
2.x line (as there won't be a 2.8). 3.1 already has the stricter (and
in my view correct) behaviour, and I see no reason to introduce the
2.x behaviour into Python 3.

So I'd say there's nothing to do.
Paul.


More information about the Python-Dev mailing list