Message 84755 - Python tracker (original) (raw)

Message84755

Author cjw296
Recipients aalbrecht, barry, cjw296, gagern, salty-horse, splorgdar
Date 2009-03-31.07:16:00
SpamBayes Score 9.128404e-05
Marked as misclassified No
Message-id 1238483762.36.0.937575692605.issue1974@psf.upfronthosting.co.za
In-reply-to
Content
It's probably worth noting that changing: from email.mime.text import MIMEText m = MIMEText('foo') m['subject']='something long' ...to: from email.header import Header m = MIMEText('foo') m['subject']=Header('something long') ...will do folding without the \t problem, even in Python 2.6 I guess the moral of the story is that all headers should really be header objects. I think Barry has some ideas on that ;-)
History
Date User Action Args
2009-03-31 07:16:02 cjw296 set recipients: + cjw296, barry, gagern, salty-horse, aalbrecht, splorgdar
2009-03-31 07:16:02 cjw296 set messageid: 1238483762.36.0.937575692605.issue1974@psf.upfronthosting.co.za
2009-03-31 07:16:01 cjw296 link issue1974 messages
2009-03-31 07:16:00 cjw296 create