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 <1349390211.11.0.117838581657.issue16137@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2012-10-04 22:36:51Viktor.Chynarovsetrecipients: + Viktor.Chynarov
2012-10-04 22:36:51Viktor.Chynarovsetmessageid: <1349390211.11.0.117838581657.issue16137@psf.upfronthosting.co.za>
2012-10-04 22:36:51Viktor.Chynarovlinkissue16137 messages
2012-10-04 22:36:51Viktor.Chynarovcreate