]> granicus.if.org Git - python/commit
- time.accept2dyear = True is now equivalent to time.accept2dyear = 1
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>
Wed, 5 Jan 2011 23:00:47 +0000 (23:00 +0000)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>
Wed, 5 Jan 2011 23:00:47 +0000 (23:00 +0000)
commita6867258593a3b939042e47da26919be20e7e7f0
treee6ca0b9aabaf1b866d5c812f324e57b3147a95f7
parente40808a935352ed4c8e5f6f554d8e2124f44c645
- time.accept2dyear = True is now equivalent to time.accept2dyear = 1
- removed unnecessary struct_time to tuple conversion
- added more unit tests
(See issue #10827 for discussion.)
Lib/test/test_time.py
Modules/timemodule.c