MunSic JEONG <rus...@gmail.com> added the comment: 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) ---------- keywords: +patch nosy: +ruseel Added file: http://bugs.python.org/file18976/issue6608-timemodule.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6608> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com