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 barry
Recipients barry, kbandla, r.david.murray
Date 2013-06-05.14:07:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In a somewhat similar vein, replace_header() retains the original header order.  Not quite what the OP wants, but useful.

The problem I had originally with a position-aware method is getting the API right.  I didn't want to add a position argument to add_header() (and still don't).  So I think a position-aware API would have to be a different method, perhaps with an API somewhat like list.insert()?  It doesn't look like OrderedDict provides any guidance here.
Date User Action Args
2013-06-05 14:07:49barrysetrecipients: + barry, r.david.murray, kbandla
2013-06-05 14:07:49barrysetmessageid: <>
2013-06-05 14:07:49barrylinkissue18139 messages
2013-06-05 14:07:49barrycreate