[issue10073] calendar.isleap() not checking parameter type
Philip Jenvey
report at bugs.python.org
Tue Oct 12 22:29:07 CEST 2010
Philip Jenvey <pjenvey at underboss.org> added the comment:
Another option is to wrap the operations in a try/except. When a TypeError is raised have it throw a new TypeError with an improved error message and the original chained to it
----------
nosy: +pjenvey
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10073>
_______________________________________
More information about the Python-bugs-list
mailing list