]> granicus.if.org Git - python/commit
#1162477: accept '.' in addition to ':' when parsing time in date header.
authorR David Murray <rdmurray@bitdance.com>
Mon, 14 Mar 2011 00:06:23 +0000 (20:06 -0400)
committerR David Murray <rdmurray@bitdance.com>
Mon, 14 Mar 2011 00:06:23 +0000 (20:06 -0400)
commitaccd1c040f472f613cdac8fbf78e75794819acfc
tree8830397de5d56f37dd1413f1ef4c2bb686ee3d80
parent0cfc23762fb3cc5467d50de020a3b69710884aa5
#1162477: accept '.' in addition to ':' when parsing time in date header.

Some non-compliant MUAs use '.'s, so by the Postel Principle we should
accept them.  Patch by Thomas Herve.
Lib/email/_parseaddr.py
Lib/email/test/test_email.py
Misc/NEWS