Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Sep 7, 2018

Some methods of the SMTP class use mutable default arguments. Specially
send_message is affected as it mutates one of the args by appending items
to it, which has side effects on further calls.
(cherry picked from commit d5fbe9b)

Co-authored-by: Pablo Aguiar [email protected]

https://bugs.python.org/issue34246

Some methods of the SMTP class use mutable default arguments. Specially
`send_message` is affected as it mutates one of the args by appending items
to it, which has side effects on further calls.
(cherry picked from commit d5fbe9b)

Co-authored-by: Pablo Aguiar <[email protected]>
@miss-islington
Copy link
Contributor Author

@scorphus and @pablogsal: Backport status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 9835696 into python:3.7 Sep 7, 2018
@miss-islington miss-islington deleted the backport-d5fbe9b-3.7 branch September 7, 2018 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants