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 r.david.murray
Recipients anadelonbrin, barry, dato, meatballhat, pitrou, r.david.murray, tercero12, vstinner
Date 2010-10-08.12:15:52
SpamBayes Score 0.0004730358
Marked as misclassified No
Message-id <1286540162.6.0.381552765143.issue4661@psf.upfronthosting.co.za>
In-reply-to
Content
Even if smtplib accepted bytes (it currently does not), *Generator* is still producing unicode, and should produce valid unicode and still insofar as possible preserve the meaning of the original message.  This means unicode acts as if it is an SMTP server that does not support the 8bit capability, so we must convert to 7bit clean CTEs.

If smtplib later grows the ability to accept bytes, BytesGenerator can be used to feed it.  I've clarified that BytesGenerator does not do the 7bit transform, and made some other doc tweaks.
History
Date User Action Args
2010-10-08 12:16:02r.david.murraysetrecipients: + r.david.murray, barry, anadelonbrin, pitrou, vstinner, dato, tercero12, meatballhat
2010-10-08 12:16:02r.david.murraysetmessageid: <1286540162.6.0.381552765143.issue4661@psf.upfronthosting.co.za>
2010-10-08 12:16:00r.david.murraylinkissue4661 messages
2010-10-08 12:16:00r.david.murraycreate