Message172008
If an array created from a struct_time that has a negative tm_hour is passed as an argument to time.asctime(), Python crashes.
>>> initial_struct_time = [tm for tm in time.localtime()]
>>> initial_struct_time[3] = -1
>>> faulty_time = time.asctime(initial_struct_time) |
|
Date |
User |
Action |
Args |
2012-10-04 22:36:51 | Viktor.Chynarov | set | recipients:
+ Viktor.Chynarov |
2012-10-04 22:36:51 | Viktor.Chynarov | set | messageid: <1349390211.11.0.117838581657.issue16137@psf.upfronthosting.co.za> |
2012-10-04 22:36:51 | Viktor.Chynarov | link | issue16137 messages |
2012-10-04 22:36:51 | Viktor.Chynarov | create | |
|