Nick Coghlan <ncogh...@gmail.com> added the comment:

Yup. It's unfortunate, but there's really nothing we can do about it - some 
protocols use exceptions, and if you raise an exception type that is part of 
the defined protocol as the result of a genuine error, then you're going to 
have a fun debugging exercise to deal with.

You'll often see a similar misdiagnosis with TypeError in conversion functions 
that try several different conversion techniques.

----------
nosy: +ncoghlan
resolution:  -> wont fix
status: open -> closed

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

Reply via email to