This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author varun
Recipients alfmel, dwig, giampaolo.rodola, jcea, loewis, r.david.murray, sandro.tosi, varun
Date 2014-03-09.21:01:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394398861.34.0.301264955093.issue4142@psf.upfronthosting.co.za>
In-reply-to
Content
I have added a patch and it's test case as per martin's suggestions. Now function close() resets the attributes :sock, default_port, ehlo_msg, ehlo_resp, helo_resp, source_address

But it does *not* reset : debuglevel, does_esmtp,esmtp_features, file, local_hostname

I think the attributes does_esmtp, esmtp_features and local_hostname are most probably not going to be changed even if someone uses the same object more than once.
History
Date User Action Args
2014-03-09 21:01:01varunsetrecipients: + varun, loewis, jcea, giampaolo.rodola, dwig, r.david.murray, sandro.tosi, alfmel
2014-03-09 21:01:01varunsetmessageid: <1394398861.34.0.301264955093.issue4142@psf.upfronthosting.co.za>
2014-03-09 21:01:01varunlinkissue4142 messages
2014-03-09 21:01:01varuncreate