Mark Dickinson <dicki...@gmail.com> added the comment:

>From both practical and purity points of view I think I prefer TypeError for 
>the cases Stefan gives: if you're passing a float for the sign, then you've 
>somehow ended up with the wrong type for that sign, and that's a TypeError 
>rather than a ValueError.

----------

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

Reply via email to