Title: email module does not unfold headers
Type: behavior Stage: patch review
Components: Library (Lib) Versions: Python 3.3
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: bromine, evanj, r.david.murray, sandro.tosi
Priority: normal Keywords: patch

Created on 2008-12-18 20:59 by bromine, last changed 2012-10-10 21:29 by evanj.

File name Uploaded Description Edit
feedparser.diff bromine, 2008-12-18 20:59 Patch for email/
Messages (4)
msg78042 - (view) Author: Ben Artin (bromine) Date: 2008-12-18 20:59
RFC 2822 allows for certain headers to be spread across multiple lines 
(section 2.2.3). In particular, subject, comments, and keywords headers 
behave this way (section 3.6.5). 

I think the email module should unfold such headers. See attached patch.
msg97020 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2009-12-30 02:42
While I agree with you, this represents a significant API change and so
is only going to be dealt with in the new version of the email package
msg128230 - (view) Author: Sandro Tosi (sandro.tosi) * (Python committer) Date: 2011-02-09 18:33
Hi David, AFAIUI in py3k branch I see email module has version 5.1.0 so I guess the new email module will be targetting 3.3 - am I correct? what should we do with this issue?
msg128239 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2011-02-09 20:50
Yes, when I said "new version", I meant "new major version", as in email6.  I have plans for this, but I'm waiting until after the release of 3.2 to make a presentation about it to the email-sig.
Date User Action Args
2012-10-10 21:29:02evanjsetnosy: + evanj
2011-02-09 20:50:08r.david.murraysetnosy: r.david.murray, bromine, sandro.tosi
messages: + msg128239
versions: + Python 3.3, - Python 3.2
2011-02-09 18:33:17sandro.tosisetnosy: + sandro.tosi

messages: + msg128230
stage: patch review
2009-12-30 02:42:25r.david.murraysetpriority: normal
title: email module does not fold headers -> email module does not unfold headers
nosy: + r.david.murray

messages: + msg97020

versions: + Python 3.2, - Python 2.6
2008-12-20 14:36:22loewissetversions: - Python 2.5.3
2008-12-18 20:59:27brominecreate