[issue37322] test_ssl: test_pha_required_nocert() emits a ResourceWarning

Matthew Hughes report at bugs.python.org
Fri Jul 3 12:17:28 EDT 2020


Matthew Hughes <matthewhughes934 at gmail.com> added the comment:

Whoops, I realise the patch I shared contained a combination of two (independent) approaches I tried:

1. Add sleep and perform cleanup
2. Naively patch catch_threading_exception to accept a cleanup routine to be run upon exiting but before removing the thread.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37322>
_______________________________________


More information about the Python-bugs-list mailing list