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 ruseel
Recipients AmirHabibi, abbeyj, alexandre.vassalotti, belopolsky, brett.cannon, lemburg, pitrou, ruseel, srid, vstinner
Date 2010-09-23.15:16:36
SpamBayes Score 0.0049143685
Marked as misclassified No
Message-id <1285255000.46.0.0573268531204.issue6608@psf.upfronthosting.co.za>
In-reply-to
Content
As alexandre.vassalotti pointed in msg107596, I added precondition check.

 * extracted the range check from time_strftime as "is_valid_tm".
 * time_asctime, time_strftime call "is_valid_tm"

 * testcase for both asctime and strftime (abbeyj's work)

I splited patch just for unittest files(Lib/test/test_time.py) and (Modules/timemodule.c)
History
Date User Action Args
2010-09-23 15:16:40ruseelsetrecipients: + ruseel, lemburg, brett.cannon, belopolsky, pitrou, vstinner, alexandre.vassalotti, srid, abbeyj, AmirHabibi
2010-09-23 15:16:40ruseelsetmessageid: <1285255000.46.0.0573268531204.issue6608@psf.upfronthosting.co.za>
2010-09-23 15:16:39ruseellinkissue6608 messages
2010-09-23 15:16:38ruseelcreate