[issue10073] calendar.isleap() not checking parameter type
R. David Murray
report at bugs.python.org
Tue Oct 12 16:49:26 CEST 2010
R. David Murray <rdmurray at bitdance.com> added the comment:
In Python we often don't type check, we just let errors happen. It is true that it would make the problem clearer to do a type check and issue a specific error message, but I don't know if it is worth it. (The error would already have been clear if it weren't for the fact that % is the string formatting operator...)
----------
nosy: +r.david.murray
versions: +Python 3.1, Python 3.2 -Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10073>
_______________________________________
More information about the Python-bugs-list
mailing list