This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tarek
Recipients orsenthil, r.david.murray, srid, tarek
Date 2010-05-19.12:00:06
SpamBayes Score 4.486575e-07
Marked as misclassified No
Message-id <1274270409.81.0.670483229688.issue8721@psf.upfronthosting.co.za>
In-reply-to
Content
Senthil: thx for the pointer. 

I've fixed the problem on distribute side by catching any ValueError returned by urlparse (from 2.6 or 2.7 point of view).

That said, I don't think than catching more invalid URLs in Python 2.7 should be considered as a feature. 

If it's a new feature then we should have an option to explicitly parse IpV6-like URLs and leave the default behavior like it was in 2.6. If not, then it should be considered as a bug fix (meaning that Python now discards more malformed URLs) and should be backported imo.

IOW, I want to discard invalid URLs the same way no matter what the Python version is, because this is not a rule defined by Python, rather by some RFCs at the URL level.
History
Date User Action Args
2010-05-19 12:00:10tareksetrecipients: + tarek, orsenthil, r.david.murray, srid
2010-05-19 12:00:09tareksetmessageid: <1274270409.81.0.670483229688.issue8721@psf.upfronthosting.co.za>
2010-05-19 12:00:08tareklinkissue8721 messages
2010-05-19 12:00:06tarekcreate