[issue35342] email "default" policy raises exception iterating over unparseable date headers

Irit Katriel report at bugs.python.org
Wed Dec 2 18:08:53 EST 2020


Irit Katriel <iritkatriel at yahoo.com> added the comment:

I get this. Was the bug fixed?

>>> email.message_from_string('Date: not a parseable date', policy=email.policy.default).items()
[('Date', 'not a parseable date')]

----------
nosy: +iritkatriel
status: open -> pending

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


More information about the Python-bugs-list mailing list