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 orsenthil
Recipients Walter.Woods, barry, dstanek, eric.araujo, hdiogenes, l0nwlf, orsenthil, r.david.murray
Date 2010-08-02.12:12:44
SpamBayes Score 0.00031810396
Marked as misclassified No
Message-id <1280751181.3.0.339441728288.issue8572@psf.upfronthosting.co.za>
In-reply-to
Content
Fixed in revision 83521 (py3k) and 83522 (release31-maint).
I made slight modifications to the patch to include non-iterable values,like int, for default too.

If you feel the documentation could be made better, please suggest the wordings for the sentence. I am leaving the bug open for this, if the current one is fine, we can close the bug.

David (RDM): I am not sure if we need a Deprecation Warning here.
If you actually see getheader() is supposed to return a string only as Headers are strings. I don't think someone should be consciously passing a list of items and excepting the list of items back.

', '.join of header values seem to be for situations in which get_all returns list of values, which is possible when there are different values for same header key.  This is a correct behavior IMO. The 2.x one is a mistake where it returned only the first value as a string.
History
Date User Action Args
2010-08-02 12:13:01orsenthilsetrecipients: + orsenthil, barry, dstanek, hdiogenes, eric.araujo, r.david.murray, l0nwlf, Walter.Woods
2010-08-02 12:13:01orsenthilsetmessageid: <1280751181.3.0.339441728288.issue8572@psf.upfronthosting.co.za>
2010-08-02 12:12:45orsenthillinkissue8572 messages
2010-08-02 12:12:44orsenthilcreate