commit | e8bedeb45b134e7ae033560353ba064738170cd3 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Sat Aug 07 16:38:40 2004 +0000 |
committer | Barry Warsaw <barry@python.org> | Sat Aug 07 16:38:40 2004 +0000 |
tree | 907fce19729560604ac9a2da59efc4c5a6741fd6 | |
parent | 2c178253bd1f78545d412670c59060dc7c676f8c [diff] |
Resolution of bug #997368, "strftime() backward compatibility". 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