[issue32657] Mutable Objects in SMTP send_message Signature

Chason Chaffin report at bugs.python.org
Thu Jan 25 21:27:01 EST 2018


Chason Chaffin <chason at gmail.com> added the comment:

I'm writing a PR for this right now. Is it worth it to write a test to make sure that mail_options isn't being mutated or is it enough just to update the code to use non-mutable defaults? Interesting side effect of looking into this is #32663 where I found the tests for the UTF8 code weren't being run.

----------

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


More information about the Python-bugs-list mailing list