• Barry Warsaw's avatar
    Resolution of bug #997368, "strftime() backward compatibility". · e8bedeb4
    Barry Warsaw yazdı
    Specifically, time.strftime() no longer accepts a 0 in the yday position of a
    time tuple, since that can crash some platform strftime() implementations.
    
    parsedate_tz(): Change the return value to return 1 in the yday position.
    
    Update tests in test_rfc822.py and test_email.py
    e8bedeb4
rfc822.py 32.6 KB