[issue5612] whitespace folding in the email package could be better ; -)

2011-04-18 Thread R. David Murray
R. David Murray added the comment: This now works correctly in 3.2/3.3 (see issue 11492). Note that the whitespace compression is too deeply embeded in the 2.7 email package for there to be any way to fix it there. -- resolution: -> duplicate stage: test needed -> committed/rejected

[issue5612] whitespace folding in the email package could be better ; -)

2010-08-07 Thread R. David Murray
R. David Murray added the comment: It's a plan to redesign the email API so that it can easily manipulate both bytes and strings as needed, with a backward compatibility layer that allows the current API to be used if all you need to do is process strings. If we're lucky there may be a PyPI

[issue5612] whitespace folding in the email package could be better ; -)

2010-08-07 Thread Chris Withers
Chris Withers added the comment: What's email6 and where can I find out more about it? Chris -- ___ Python tracker ___ ___ Python-bug

[issue5612] whitespace folding in the email package could be better ; -)

2010-08-06 Thread R. David Murray
R. David Murray added the comment: Yes, this is being kept in mind for email6, but nothing is likely to happen in the current package. Since email6 won't make 3.2, I'm retargeting this bug for 3.3. -- stage: -> unit test needed type: -> behavior versions: +Python 3.3 -Python 2.7 _

[issue5612] whitespace folding in the email package could be better ; -)

2010-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: The email module has several problems. RDM is working on overhauling the email module for 3.2. Existing issues may not get individual attention. -- nosy: +terry.reedy ___ Python tracker

[issue5612] whitespace folding in the email package could be better ; -)

2010-05-05 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- assignee: barry -> r.david.murray nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mai

[issue5612] whitespace folding in the email package could be better ; -)

2009-03-30 Thread Chris Withers
New submission from Chris Withers : In python 3 this has been done better already, but in python2.7 we still have this problem: >>> from email.mime.text import MIMEText >>> m = MIMEText('foo') >>> m['Subject'] = 'AA '*40 >>> str(m) 'From nobody Mon Mar 30 13:22:44 2009\nContent-Type: text/plain