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 ezio.melotti, orsenthil, petri.lehtinen, rohini, stachjankowski
Date 2011-11-22.20:10:36
SpamBayes Score 1.7721838e-08
Marked as misclassified No
Message-id <1321992637.52.0.129957883728.issue13425@psf.upfronthosting.co.za>
In-reply-to
Content
4) Deprecate the function to be removed in 3.4 or 3.5 and "fix" it to always return [].

This way we won't break any 3.0-3.2 code that is using the function, but the users of such code will start to get DeprecationWarnings in 3.3.

There's no meaningful way to fix the function correctly, as the original header data isn't stored anywhere in HTTPMessage or its base class email.message.Message. The function is also obsolete: the get_all() method of email.message.Message can be used.

@stachjankowski: How did you find this issue? Are you porting from 2.x to 3.x or have new 3.x code that uses this function?
History
Date User Action Args
2011-11-22 20:10:37petri.lehtinensetrecipients: + petri.lehtinen, orsenthil, ezio.melotti, stachjankowski, rohini
2011-11-22 20:10:37petri.lehtinensetmessageid: <1321992637.52.0.129957883728.issue13425@psf.upfronthosting.co.za>
2011-11-22 20:10:36petri.lehtinenlinkissue13425 messages
2011-11-22 20:10:36petri.lehtinencreate