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 r.david.murray, sdaoden
Date 2011-03-17.14:38:09
SpamBayes Score 0.00065446936
Marked as misclassified No
Message-id <1300372689.69.0.623677644463.issue11584@psf.upfronthosting.co.za>
In-reply-to
Content
If the message contains 8bit bytes in a header, then getitem is going to return a Header object.  decode_header does not operate on Header objects, as you have observed.  Thinking about it some more, having decode_header operate on a Header and return its chunks is a decent binary interface for Header.  This is right on the borderline between a feature and a bug fix, but given that getitem returning Header after a parse is a new feature in 3.2, I think I'm going to treat it as a bug that decode_header doesn't handle that case.
History
Date User Action Args
2011-03-17 14:38:09r.david.murraysetrecipients: + r.david.murray, sdaoden
2011-03-17 14:38:09r.david.murraysetmessageid: <1300372689.69.0.623677644463.issue11584@psf.upfronthosting.co.za>
2011-03-17 14:38:09r.david.murraylinkissue11584 messages
2011-03-17 14:38:09r.david.murraycreate