[issue15925] email.utils.parsedate() and email.utils.parsedate_tz() should return None when date cannot be parsed

Arfrever Frehtes Taifersar Arahesis report at bugs.python.org
Mon Sep 17 22:47:16 CEST 2012


Arfrever Frehtes Taifersar Arahesis added the comment:

I think that email.utils.parsedate_to_datetime("0") should raise ValueError instead of TypeError.

----------

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


More information about the Python-bugs-list mailing list