[issue11289] smtplib context manager
Giampaolo Rodola'
report at bugs.python.org
Tue Feb 22 18:05:06 CET 2011
New submission from Giampaolo Rodola' <g.rodola at gmail.com>:
Patch in attachment provides a context manager for SMTP class so that it can be used with the "with" statement.
----------
messages: 129096
nosy: giampaolo.rodola, pitrou
priority: normal
severity: normal
status: open
title: smtplib context manager
versions: Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11289>
_______________________________________
More information about the Python-bugs-list
mailing list