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 martin.panter
Recipients berker.peksag, martin.panter, vlee
Date 2016-01-27.11:17:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1453893463.13.0.997298689864.issue24841@psf.upfronthosting.co.za>
In-reply-to
Content
The two changes to test_ssl.py look okay to me, although they will need updating since the Issue 24841 changeover to pythontest.net.

But I don’t think it is a good idea to add ENOTCONN to the list of errors ignored by all transient_internet() tests. In most cases, ENOTCONN suggests a programming error, not a network problem. I think a better solution would be to call connect_ex() again in test_non_blocking_connect_ex(), and retrieve the result (probably also ECONNREFUSED like the other failures, or 0 if successful).
History
Date User Action Args
2016-01-27 11:17:43martin.pantersetrecipients: + martin.panter, berker.peksag, vlee
2016-01-27 11:17:43martin.pantersetmessageid: <1453893463.13.0.997298689864.issue24841@psf.upfronthosting.co.za>
2016-01-27 11:17:43martin.panterlinkissue24841 messages
2016-01-27 11:17:43martin.pantercreate