[issue8013] time.asctime segfaults when given a time in the far future

Georg Brandl report at bugs.python.org
Sun Jan 2 16:52:59 CET 2011


Georg Brandl <georg at python.org> added the comment:

Well, then I would have no problem with checking for that condition beforehand and raising ValueError.

On the other hand, it seems that implementations either return a correct string or NULL, so just erroring out in case of NULL would be fine as well.

----------

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


More information about the Python-bugs-list mailing list