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, hhm, r.david.murray, vajrasky
Date 2014-02-26.23:24:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1393457080.63.0.362183786071.issue19470@psf.upfronthosting.co.za>
In-reply-to
Content
Having thought further about this (prompted by a suggested fix by Varun Sharma), I'm going to reject it.  The reason is that the email package in 3.2 compatibility mode still uses the Header object to encapsulate headers that have invalid binary data in them.  This means that if we added the check to Header, the email package could throw errors at unexpected times (that is, when retrieving a header from a parsed message).

In retrospect I think returning a Header object for invalid data was probably a bad idea, but what's done is done.
History
Date User Action Args
2014-02-26 23:24:40r.david.murraysetrecipients: + r.david.murray, barry, hhm, vajrasky
2014-02-26 23:24:40r.david.murraysetmessageid: <1393457080.63.0.362183786071.issue19470@psf.upfronthosting.co.za>
2014-02-26 23:24:40r.david.murraylinkissue19470 messages
2014-02-26 23:24:40r.david.murraycreate