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

Barry A. Warsaw report at bugs.python.org
Thu Jun 15 23:17:23 EDT 2017


Barry A. Warsaw added the comment:

I'm not sure it would be any better, but what about defining something like a DateFormatDefect and returning that?

----------

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


More information about the Python-bugs-list mailing list