[issue45299] SMTP.send_message() does from mangling when it should not

Andrei Kulakov report at bugs.python.org
Tue Nov 23 18:19:55 EST 2021


Andrei Kulakov <andrei.avk at gmail.com> added the comment:

Seems like a reasonable request to me.

I can make the PR+test.

To minimize backwards-incompatible change, we can pass `_mangle_from=policy._mangle_from` argument instead of passing the entire policy. Is that a good idea or passing the policy argument should be fine too?

----------
nosy: +andrei.avk, r.david.murray
stage:  -> needs patch
type:  -> behavior
versions: +Python 3.10, Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45299>
_______________________________________


More information about the Python-bugs-list mailing list