Staging
v0.5.1
https://github.com/python/cpython
Revision 9835696ec4c57a9a30f1c11cfb4c5d3e121bf97c authored by Miss Islington (bot) on 07 September 2018, 22:29:27 UTC, committed by GitHub on 07 September 2018, 22:29:27 UTC

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>
1 parent 7399407
History
Tip revision: 9835696ec4c57a9a30f1c11cfb4c5d3e121bf97c authored by Miss Islington (bot) on 07 September 2018, 22:29:27 UTC
bpo-34246: Use no mutable default args in smtplib (GH-8554)
Tip revision: 9835696
File Mode Size
.github
.vsts
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.5 KB
.gitignore -rw-r--r-- 1.5 KB
.travis.yml -rw-r--r-- 6.0 KB
CODE_OF_CONDUCT.rst -rw-r--r-- 631 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 61.1 KB
README.rst -rw-r--r-- 10.4 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 484.6 KB
configure.ac -rw-r--r-- 161.4 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 42.1 KB
setup.py -rw-r--r-- 99.5 KB

README.rst

back to top