Maximilian Hils <python-b...@maximilianhils.com> added the comment:
We are hitting the same traceback with mitmproxy on Windows without ever passing a socket object to open_connection. In other words, this can be triggered without performing any action on 'sock' due to some race conditions in the Windows network stack. I unfortunately don't have a better repro for that race other than what Daniel provided. ---------- nosy: +mhils _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43253> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com