diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-09-07 22:29:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-07 22:29:27 (GMT) |
commit | 9835696ec4c57a9a30f1c11cfb4c5d3e121bf97c (patch) | |
tree | 206919b7d0b7c91f64d4a5f4283d5ff3d6ca3fe0 /Lib/enum.py | |
parent | 73994077250bd70385cb8e7a92f24874129369d1 (diff) | |
download | cpython-9835696ec4c57a9a30f1c11cfb4c5d3e121bf97c.zip cpython-9835696ec4c57a9a30f1c11cfb4c5d3e121bf97c.tar.gz cpython-9835696ec4c57a9a30f1c11cfb4c5d3e121bf97c.tar.bz2 |
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>
Diffstat (limited to 'Lib/enum.py')
0 files changed, 0 insertions, 0 deletions