Charles-Francois Natali <neolo...@free.fr> added the comment: > If it's broken, complain to Apple.
Actually, I checked glibc's asctime, and it has the same behaviour. But the point is that asctime can return NULL. > That still doesn't explain the OP's crash on OS X 10.6.6. Yes it does. If asctime returns NULL, you'll segfault. Now, if you ask me why he's encoutering this bug, I'd guess that he's using py3k' test_time.py, which added tests feeding invalid tuples to time.asctime. But it's just a wild guess. Anyway, the code in python 2.7 is buggy, and must be fixed. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11327> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com