Message129532
> 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. |
|
Date |
User |
Action |
Args |
2011-02-26 11:41:10 | neologix | set | recipients:
+ neologix, belopolsky, ned.deily, antlong |
2011-02-26 11:41:10 | neologix | set | messageid: <1298720470.13.0.824951769799.issue11327@psf.upfronthosting.co.za> |
2011-02-26 11:41:09 | neologix | link | issue11327 messages |
2011-02-26 11:41:09 | neologix | create | |
|