[issue30033] email module base64-encodes utf-8 text

2017-04-10 Thread R. David Murray
R. David Murray added the comment: The API exists in python3.5 and python3.4 as well, it was just provisional. Very few things changed between the provisional version and the final version in 3.6. -- ___ Python tracker

[issue30033] email module base64-encodes utf-8 text

2017-04-10 Thread Jon Ribbens
Jon Ribbens added the comment: Just a note for anyone finding this in searching results: it appears that what David means by "python3 API" is actually a new API in Python 3.6 (email.message.EmailMessage). -- ___ Python tracker

[issue30033] email module base64-encodes utf-8 text

2017-04-10 Thread R. David Murray
R. David Murray added the comment: Yes, this sub-optimal, but it's the way it works in the legacy API, and we aren't going to change the legacy (compat32) API at this point. The new policies and the new API in python3 handle this sensibly. -- resolution: -> out of date stage: -> res

[issue30033] email module base64-encodes utf-8 text

2017-04-10 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- components: +email nosy: +barry, r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue30033] email module base64-encodes utf-8 text

2017-04-10 Thread Jon Ribbens
New submission from Jon Ribbens: The email module, when creating text parts using character encoding utf-8, base64-encodes the output even though this is often inappropriate (e.g. if it is a Western language it is almost never appropriate). >>> from email.mime.text import MIMEText >>> m = MIME