This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients barry, r.david.murray, timb07
Date 2017-06-16.01:25:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1497576302.61.0.731662822843.issue30681@psf.upfronthosting.co.za>
In-reply-to
Content
The problem is that if it returns None on parse failure, then you can't tell the difference between the header not existing and the date not being parseable.  I don't have a solution for this problem.  Suggestions welcome.  (Note that this is only a problem in the new policy, where the parsing is done automatically; in the compat32 policy you have to apply parsedate yourself, so you can tell the difference between a non-existent header and a failed date parse).
History
Date User Action Args
2017-06-16 01:25:02r.david.murraysetrecipients: + r.david.murray, barry, timb07
2017-06-16 01:25:02r.david.murraysetmessageid: <1497576302.61.0.731662822843.issue30681@psf.upfronthosting.co.za>
2017-06-16 01:25:02r.david.murraylinkissue30681 messages
2017-06-16 01:25:02r.david.murraycreate