Staging
v0.5.1
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
Raw File
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
.bzrignore
ยด.purify
autom4te.cache
config.log
config.cache
config.status
config.status.lineno
db_home
Makefile
buildno
python
build
Makefile.pre
platform
pybuilddir.txt
pyconfig.h
libpython*.a
libpython*.so*
python.exe
python-gdb.py
reflog.txt
tags
TAGS
.gdb_history
Doc/tools/sphinx
Doc/tools/jinja
Doc/tools/jinja2
Doc/tools/pygments
Doc/tools/docutils
Misc/python.pc
Modules/Setup
Modules/Setup.config
Modules/Setup.local
Modules/config.c
Modules/ld_so_aix
Parser/pgen
Lib/test/data/*
Lib/lib2to3/Grammar*.pickle
Lib/lib2to3/PatternGrammar*.pickle
__pycache__
.coverage
coverage/*
htmlcov/*
back to top