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 Viktor.Chynarov
Recipients Viktor.Chynarov
Date 2012-10-04.22:36:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:51Viktor.Chynarovsetrecipients: + Viktor.Chynarov
2012-10-04 22:36:51Viktor.Chynarovsetmessageid: <>
2012-10-04 22:36:51Viktor.Chynarovlinkissue16137 messages
2012-10-04 22:36:51Viktor.Chynarovcreate