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 catalin.iacob
Recipients bronger, catalin.iacob, giampaolo.rodola, lcatucci, pitrou, r.david.murray
Date 2011-06-17.21:32:09
SpamBayes Score 1.2122851e-08
Marked as misclassified No
Message-id <>
Most of the problems in this issue were solved already so it could almost be closed:
* patch 1 was addressed in #11927
* patch 2 was addressed in #4066
* patches 3 and 4 were addressed in #11893

Torsten's problem was addressed by bcf04ced5ef1.

> I'm not sure what is left to do in this issue.

The only patch remaining is patch 5. I attached an updated version against tip of default branch. My patch mimics shutdown in in that it silences ENOTCONN. However I don't have a test that fails without the shutdown and I don't know if checking ENOTCONN is really needed. I tried to get shutdown to produce ENOTCONN by using Postfix as a server with smtpd_timeout=5s, connecting to it and waiting idle for more than 5 seconds before doing close(). In the Postfix logs I see that Postfix disconnects after 5 seconds of inactivity but doing shutdown afterwards doesn't trigger any exception so the ENOTCONN part remains unexercised.

My patch also adds shutdown method and SHUT_RDWR constant to since otherwise test_smtplib fails.

(Added Antoine to nosy because he reviewed the patches for #11927 and #11893)
Date User Action Args
2011-06-17 21:32:11catalin.iacobsetrecipients: + catalin.iacob, pitrou, bronger, giampaolo.rodola, lcatucci, r.david.murray
2011-06-17 21:32:10catalin.iacobsetmessageid: <>
2011-06-17 21:32:10catalin.iacoblinkissue4470 messages
2011-06-17 21:32:10catalin.iacobcreate