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 petri.lehtinen
Recipients catalin.iacob, ezio.melotti, ggenellina, mwatkins, orsenthil, petri.lehtinen
Date 2012-07-07.10:43:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1341657809.63.0.698649285853.issue5053@psf.upfronthosting.co.za>
In-reply-to
Content
My 4) actually meant that it should always return []. This is what it currently does, so it could be spelled out clearly in the code.

IIRC, getallmatchingheaders() cannot be emulated one-to-one using get_all(), because it handles continuation lines differently. That's why I thought removing or deprecating without fixing it would be the best.

rfc822.Message.getallmatchingheaders() is documented in Python 2, so removing it could make it harder to port code from Python 2 to Python 3. On the other hand, it's broken, so having it removed could actually make things better by not introducing hard-to-find bugs.

All in all, I'm not sure what's the best thing to do.
History
Date User Action Args
2012-07-07 10:43:29petri.lehtinensetrecipients: + petri.lehtinen, ggenellina, orsenthil, ezio.melotti, mwatkins, catalin.iacob
2012-07-07 10:43:29petri.lehtinensetmessageid: <1341657809.63.0.698649285853.issue5053@psf.upfronthosting.co.za>
2012-07-07 10:43:28petri.lehtinenlinkissue5053 messages
2012-07-07 10:43:28petri.lehtinencreate