• Raymond Hettinger's avatar
    SF patch #691928: Use datetime in _strptime · 88ea9c39
    Raymond Hettinger authored
    Contributed by Brett Cannon.
    
    To prevent code duplication, I patched _strptime to use datetime's date
    object to do Julian day, Gregorian, and day of the week calculations.
    
    Patch also includes new regression tests to test results and the
    calculation gets triggered.
    
    Very minor comment changes and the contact email are also changed.
    88ea9c39
test_strptime.py 18.8 KB