[issue41402] email: ContentManager.set_content calls nonexistent method encode() on bytes

2021-02-07 Thread Johannes Reiff
Johannes Reiff added the comment: Could someone comment on the way forward? Or ideally just merge my PR (it was approved on GitHub)? I am still very much interested in this bug getting fixed. -- ___ Python tracker <https://bugs.python.

[issue41402] email: ContentManager.set_content calls nonexistent method encode() on bytes

2020-08-30 Thread Johannes Reiff
Johannes Reiff added the comment: It has been almost a month since the last update, so pinging as suggested in the Developer's Guide. Do I need to do something before the PR can be merged? -- ___ Python tracker <https://bugs.python.org/issue41

[issue41402] email: ContentManager.set_content calls nonexistent method encode() on bytes

2020-08-01 Thread Johannes Reiff
Johannes Reiff added the comment: Thanks! Is there anything I need to do regarding the Python 3.8 and 3.9 backports? -- ___ Python tracker <https://bugs.python.org/issue41

[issue41402] email: ContentManager.set_content calls nonexistent method encode() on bytes

2020-07-26 Thread Johannes Reiff
New submission from Johannes Reiff : If assigning binary content to an EmailMessage via set_content(), the function email.contentmanager.set_bytes_content() is called. This function fails when choosing the 7bit transfer encoding because of a call to data.decode('ascii