[issue6608] asctime does not check its input

Alexandre Vassalotti report at bugs.python.org
Sat Jun 12 00:35:26 CEST 2010


Alexandre Vassalotti <alexandre at peadrop.com> added the comment:

How about checking the preconditions before calling asctime()? If the check fails, then we can raise an exception without crashing.

----------

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


More information about the Python-bugs-list mailing list