[issue8013] time.asctime segfaults when given a time in the far future
STINNER Victor
report at bugs.python.org
Sun Jan 2 22:54:00 CET 2011
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
> Sasha, commit is not working.
I suppose that the fix for the segfault is correct. The problem on Linux is the new test: asc
>>> import time; time.asctime((12345, 1, 0, 0, 0, 0, 0, 0, 0))
'Mon Jan 1 00:00:00 12345\n'
asctime() of the GNU libc doesn't fail. The test should maybe just calls the function without checking the result and ignores the exception.
----------
nosy: +haypo
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8013>
_______________________________________
More information about the Python-bugs-list
mailing list