commit | 9835696ec4c57a9a30f1c11cfb4c5d3e121bf97c | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Fri Sep 07 15:29:27 2018 -0700 |
committer | GitHub <noreply@github.com> | Fri Sep 07 15:29:27 2018 -0700 |
tree | 206919b7d0b7c91f64d4a5f4283d5ff3d6ca3fe0 | |
parent | 73994077250bd70385cb8e7a92f24874129369d1 [diff] |
bpo-34246: Use no mutable default args in smtplib (GH-8554) 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 d5fbe9b1a3d65ceeb9159c5ba999ee966a945f76) Co-authored-by: Pablo Aguiar <scorphus@gmail.com>