- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
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 | erlendaasland |
|---|---|
| Recipients | christian.heimes, erlendaasland, pablogsal, terry.reedy |
| Date | 2021-06-24.09:39:40 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1624527580.94.0.142672192715.issue44229@roundup.psfhosted.org> |
| In-reply-to |
| Content |
|---|
Using this patch, I'm (so far) no longer able to reproduce these test failures: diff --git a/Lib/test/test_ssl.py b/Lib/test/test_ssl.py index cee97a8302..c9c1546467 100644 --- a/Lib/test/test_ssl.py +++ b/Lib/test/test_ssl.py @@ -2443,9 +2443,13 @@ def wrap_conn(self): self.server.conn_errors.append(str(e)) if self.server.chatty: handle_error("\n server: bad connection attempt from " + repr(self.addr) + ":\n") - self.running = False - self.server.stop() - self.close() + + # bpo-44229, bpo-43855, bpo-44237, and bpo-33450: + # Ignore spurious EPROTOTYPE returned by write() on macOS. + if e.errno != errno.EPROTOTYPE and sys.platform != "darwin": + self.running = False + self.server.stop() + self.close() return False else: self.server.shared_ciphers.append(self.sslconn.shared_ciphers()) Running for 40 minutes now, right now passing 6k iterations for test_get_server_certificate, test_msg_callback_deadlock_bpo43577, and test_get_server_certificate_sni. |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2021-06-24 09:39:40 | erlendaasland | set | recipients: + erlendaasland, terry.reedy, christian.heimes, pablogsal |
| 2021-06-24 09:39:40 | erlendaasland | set | messageid: <1624527580.94.0.142672192715.issue44229@roundup.psfhosted.org> |
| 2021-06-24 09:39:40 | erlendaasland | link | issue44229 messages |
| 2021-06-24 09:39:40 | erlendaasland | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
