[issue10073] calendar.isleap() not checking parameter type

Alexander Belopolsky report at bugs.python.org
Tue Oct 12 18:02:06 CEST 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

I agree with David on this one.  In addition to the arguments already stated, the string value of an exception is not part of specification.  The exception is still TypeError even if the message may be confusing.  I also find that once read in the context of the backtrace, the error is clear enough.

I am changing this to an RFE for now, but I think this should be closed as "won't fix".

----------
assignee:  -> belopolsky
type: behavior -> feature request
versions:  -Python 2.7, Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10073>
_______________________________________


More information about the Python-bugs-list mailing list