[issue30681] email.utils.parsedate_to_datetime() should return None when date cannot be parsed

R. David Murray report at bugs.python.org
Wed Nov 28 13:23:33 EST 2018


R. David Murray <rdmurray at bitdance.com> added the comment:

Reported again in issue #35342.

The existing PR is close to complete, but needs adjusted for the fact that we want (and want to document) that the utility raises errors (ie: catch the error in the header parser rather than having the utility return None).

----------
versions: +Python 3.7, Python 3.8 -Python 3.5, Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue30681>
_______________________________________


More information about the Python-bugs-list mailing list