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 srid
Recipients orsenthil, r.david.murray, srid, tarek
Date 2010-05-19.16:08:28
SpamBayes Score 0.000142657
Marked as misclassified No
Message-id <>
In-reply-to <>
On 2010-05-19, at 5:00 AM, Tarek Ziadé wrote:

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

Catching ValueError will catch *every* ValueError raised, rather than only the intended one: ValueError("Invalid IPv6 URL"). Can we have a custom exception for this? Generally, I am curious as to what the convention is in regards to raising standard vs custom exceptions from the standard library.
Date User Action Args
2010-05-19 16:08:31sridsetrecipients: + srid, orsenthil, tarek, r.david.murray
2010-05-19 16:08:29sridlinkissue8721 messages
2010-05-19 16:08:29sridcreate