diff options
author | R. David Murray <rdmurray@bitdance.com> | 2010-08-25 00:45:55 (GMT) |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2010-08-25 00:45:55 (GMT) |
commit | 219d1c8ae320bf1b016f4a4fc5dee50f729048be (patch) | |
tree | 3ea22eb0b5ef43206c1765b95c95ead4c5a911a6 /Misc | |
parent | 1970b62aee9ccedd83dea0df57bf0e0e63861cbe (diff) | |
download | cpython-219d1c8ae320bf1b016f4a4fc5dee50f729048be.zip cpython-219d1c8ae320bf1b016f4a4fc5dee50f729048be.tar.gz cpython-219d1c8ae320bf1b016f4a4fc5dee50f729048be.tar.bz2 |
#1194222: make parsedate always return RFC2822 four character years.
Two character years are now converted to four character years using
the Posix standard rule (<68 == 2000, >=68==1900). This makes the
parsed date RFC2822 compliant even if the input is not.
Patch and test by Jeffrey Finkelstein.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -260,6 +260,7 @@ Niels Ferguson Sebastian Fernandez Vincent Fiack Tomer Filiba +Jeffrey Finkelstein Russell Finn Nils Fischbeck Frederik Fix @@ -126,6 +126,9 @@ Extensions Library ------- +- Issue #1194222: email.utils.parsedate now returns RFC2822 compliant four + character years even if the message contains RFC822 two character years. + - Issue #8750: Fixed MutableSet's methods to correctly handle reflexive operations on its self, namely x -= x and x ^= x. |