[Python-Dev] Can ftp url start with file:// ?
Steve Holden
steve at holdenweb.com
Fri Jul 9 20:33:59 CEST 2010
Paul Moore wrote:
> 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.
This /could/ become a bugfix in 2.7.x if people thought it was a
sufficiently egregious bug to need fixing. Given that the matter is only
now coming to light it's probably bets to let sleeping dogs lie.
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
DjangoCon US September 7-9, 2010 http://djangocon.us/
See Python Video! http://python.mirocommunity.org/
Holden Web LLC http://www.holdenweb.com/
More information about the Python-Dev
mailing list