Author Viktor.Chynarov
Recipients Viktor.Chynarov
Date 2012-10-04.22:35:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349390143.92.0.685174043431.issue16137@psf.upfronthosting.co.za>
In-reply-to
Content
If a 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)
History
Date User Action Args
2012-10-04 22:35:43Viktor.Chynarovsetrecipients: + Viktor.Chynarov
2012-10-04 22:35:43Viktor.Chynarovsetmessageid: <1349390143.92.0.685174043431.issue16137@psf.upfronthosting.co.za>
2012-10-04 22:35:43Viktor.Chynarovlinkissue16137 messages
2012-10-04 22:35:43Viktor.Chynarovcreate