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 methane
Recipients asvetlov, christian.heimes, methane, r.david.murray, yarkot
Date 2018-04-09.11:49:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
On Ubuntu 17.10 (OpenSSL 1.0.2g), this patch fixes test_poplib error.
But I don't know this patch is right.

$ git diff
diff --git a/Lib/test/ b/Lib/test/
index 6abdc93879..d7a8857b05 100644
--- a/Lib/test/
+++ b/Lib/test/
@@ -180,7 +180,8 @@ class DummyPOP3Handler(asynchat.async_chat):
                 elif err.args[0] == ssl.SSL_ERROR_EOF:
                     return self.handle_close()
                 # TODO: SSLError does not expose alert information
-                elif "SSLV3_ALERT_BAD_CERTIFICATE" in err.args[1]:
+                elif ("SSLV3_ALERT_BAD_CERTIFICATE" in err.args[1]
+                        or "SSLV3_ALERT_CERTIFICATE_UNKNOWN" in err.args[1]):
                     return self.handle_close()
             except OSError as err:
Date User Action Args
2018-04-09 11:49:31methanesetrecipients: + methane, christian.heimes, yarkot, r.david.murray, asvetlov
2018-04-09 11:49:31methanesetmessageid: <>
2018-04-09 11:49:31methanelinkissue32753 messages
2018-04-09 11:49:31methanecreate