R. David Murray <rdmur...@bitdance.com> added the comment:

Why would you not want to catch all value errors?  I assume (perhaps a bad 
thing) that distribute will repeat the returned error message in a more user 
friendly format.  If a bug in urlparse returns a spurious ValueError, that will 
presumably be found (and then corrected) either by the test suite or by other 
code in addition to distribute.

The standard library should use standard exceptions unless there is a 
compelling reason to create a new exception.  This rule of thumb has not always 
been followed, of course.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8721>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to