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 theandrew168
Recipients christian.heimes, theandrew168
Date 2021-03-21.14:42:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1616337727.6.0.630418828697.issue43577@roundup.psfhosted.org>
In-reply-to
Content
I'm glad that the info I provided was helpful! I'll go ahead and create another issue for the misleading docs surrounding SSLContext.sni_callback. Thanks for looking into this and coming up with a fix so quickly.

I do have one more question: does python provide a "safe" way to test for deadlocks like this? I noticed that you added a test case to verify that this lockup doesn't happen but what would happen if someone ran that test on an earlier version? Would the test runner also freeze or are there facilities in-place to catch such behavior? Maybe something nutty like:

with should_deadlock():
    my_buggy_test()
History
Date User Action Args
2021-03-21 14:42:07theandrew168setrecipients: + theandrew168, christian.heimes
2021-03-21 14:42:07theandrew168setmessageid: <1616337727.6.0.630418828697.issue43577@roundup.psfhosted.org>
2021-03-21 14:42:07theandrew168linkissue43577 messages
2021-03-21 14:42:07theandrew168create