[New-bugs-announce] [issue4696] email module does not fold headers

Ben Artin report at bugs.python.org
Thu Dec 18 21:59:27 CET 2008

New submission from Ben Artin <ba000484 at artins.org>:

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.

components: Library (Lib)
files: feedparser.diff
keywords: patch
messages: 78042
nosy: bromine
severity: normal
status: open
title: email module does not fold headers
type: behavior
versions: Python 2.5.3, Python 2.6
Added file: http://bugs.python.org/file12399/feedparser.diff

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list