This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author neologix
Recipients antlong, belopolsky, ned.deily, neologix
Date 2011-02-26.11:41:09
SpamBayes Score 3.986698e-06
Marked as misclassified No
Message-id <1298720470.13.0.824951769799.issue11327@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2011-02-26 11:41:10neologixsetrecipients: + neologix, belopolsky, ned.deily, antlong
2011-02-26 11:41:10neologixsetmessageid: <1298720470.13.0.824951769799.issue11327@psf.upfronthosting.co.za>
2011-02-26 11:41:09neologixlinkissue11327 messages
2011-02-26 11:41:09neologixcreate