]> granicus.if.org Git - python/commit
#15925: fix regression: return None for null and non-date strings.
authorR David Murray <rdmurray@bitdance.com>
Sat, 22 Sep 2012 13:59:51 +0000 (09:59 -0400)
committerR David Murray <rdmurray@bitdance.com>
Sat, 22 Sep 2012 13:59:51 +0000 (09:59 -0400)
commit752a2241eab92d223b4f803c1cd20494bf17e799
treeab634a875096566015e962674516341bbecde440
parentfb436c4ebaff171cfff789e702dbc6b5a00281cf
#15925: fix regression: return None for null and non-date strings.

Since the logic for null detection had to move into the _parseaddr
functions, I removed the wrappers from email.utils and just import the
_parseaddr functions directly.
Lib/email/_parseaddr.py
Lib/email/utils.py
Lib/test/test_email/test_email.py
Misc/NEWS