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 mcosbuc
Recipients barry, martin.panter, mcosbuc, r.david.murray
Date 2017-03-10.15:53:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1489161187.21.0.293193832541.issue29478@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the prompt feedback. In Python 3.2, the closest equivalent for the illustrated issue I could find is: >>> from email.message import Message >>> from email.generator import Generator >>> from sys import stdout >>> m = Message() >>> m["Field"] = "x" * 100 >>> g0 = Generator(stdout, maxheaderlen=0) >>> gn = Generator(stdout, maxheaderlen=None) >>> g0.flatten(m) Field: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx >>> gn.flatten(m) Field: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx It may be the case that a documentation change is all that is needed. I'm not sure that this change would break compatibility since `max_line_length=None` for the policy is not the default value. Please advise further if I should just update the documentation and modify the test to guard for future changes.
History
Date User Action Args
2017-03-10 15:53:07mcosbucsetrecipients: + mcosbuc, barry, r.david.murray, martin.panter
2017-03-10 15:53:07mcosbucsetmessageid: <1489161187.21.0.293193832541.issue29478@psf.upfronthosting.co.za>
2017-03-10 15:53:07mcosbuclinkissue29478 messages
2017-03-10 15:53:07mcosbuccreate