Add ThreadPoolExecutor.submit to ignored methods - #53
Conversation
This is an internal function used during cleanup, and we can't really do anything about it. Even when correctly using the Python library (e.g. acquiring the semaphore with timeout=0), in some rare cases the something to avoid this call.
|
Thanks for the report and PR. |
Hm, I was thinking that In any case, my reproducer is not able to reproduce the issue with the exclusions you suggest, so it does work too in practice. |
|
I've updated the PR to target |
_acquire_restore to ignored methodsThreadPoolExecutor.submit to ignored methods
|
Thanks for a lot ! |
This is an internal function used during cleanup, and we can't really do anything about it. Even when correctly using the Python library (e.g. acquiring the semaphore with timeout=0), in some rare cases the something to avoid this call.
Fixes: #52