Staging
v0.5.0
https://github.com/python/cpython
Revision 0cff49fcf9b5689a8940c318ea0d846317f3a7d3 authored by R David Murray on 30 August 2014, 20:51:59 UTC, committed by R David Murray on 30 August 2014, 20:51:59 UTC
Without this reset, starttls would fail if a connect/starttls was done after a
quit, because smtplib assumed the existing value of emspt_features was
accurate, but it gets reset when starttls completes (and the new value does
not contain the starttls capability, since tls is already started at that
point).  (There may be additional places where this lack of reset was an
issue as well.)

Patch by Milan Oberkirch.
1 parent a64b92e
History
Tip revision: 0cff49fcf9b5689a8940c318ea0d846317f3a7d3 authored by R David Murray on 30 August 2014, 20:51:59 UTC
#22215: have the smtplib 'quit' command reset the state.
Tip revision: 0cff49f
File Mode Size
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.bzrignore -rw-r--r-- 584 bytes
.gitignore -rw-r--r-- 960 bytes
.hgeol -rw-r--r-- 800 bytes
.hgignore -rw-r--r-- 1.2 KB
.hgtags -rw-r--r-- 6.6 KB
.hgtouch -rw-r--r-- 1.2 KB
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 53.8 KB
README -rw-r--r-- 6.6 KB
config.guess -rwxr-xr-x 41.9 KB
config.sub -rwxr-xr-x 34.9 KB
configure -rwxr-xr-x 438.3 KB
configure.ac -rw-r--r-- 138.5 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 40.1 KB
setup.py -rw-r--r-- 95.2 KB

README

back to top