Message106075
| Author | srid |
|---|---|
| Recipients | orsenthil, r.david.murray, srid, tarek |
| Date | 2010-05-19.16:08:28 |
| SpamBayes Score | 0.00014265694 |
| Marked as misclassified | No |
| Message-id | <0228117B-824E-490A-B4C7-77DA997A15C4@activestate.com> |
| In-reply-to | <1274270409.81.0.670483229688.issue8721@psf.upfronthosting.co.za> |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2010-05-19 16:08:31 | srid | set | recipients: + srid, orsenthil, tarek, r.david.murray |
| 2010-05-19 16:08:29 | srid | link | issue8721 messages |
| 2010-05-19 16:08:29 | srid | create | |