[issue11327] Running test_time.py in python27 caused python to unexpectedly quit
Charles-Francois Natali
report at bugs.python.org
Sat Feb 26 13:24:54 CET 2011
Charles-Francois Natali <neologix at free.fr> added the comment:
I updated my local svn checkout, and the code has been fixed recently:
r87648 | alexander.belopolsky | 2011-01-02 15:48:22 -0500 (Sun, 02 Jan 2011) | 1 line
Issue #8013: Fixed time.asctime segfault when OS's asctime fails
p = asctime(&buf);
if (p == NULL) {
PyErr_SetString(PyExc_ValueError, "invalid time");
return NULL;
}
if (p[24] == '\n')
p[24] = '\0';
So I'd suggest to close this issue.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11327>
_______________________________________
More information about the Python-bugs-list
mailing list