[New-bugs-announce] [issue30244] Emit a ResourceWarning in concurrent.futures executor destructors

STINNER Victor report at bugs.python.org
Wed May 3 03:18:07 EDT 2017


New submission from STINNER Victor:

Follow-up of issues:
* issue #30110: test_asyncio reports reference leak, forgot to shutdown concurrent.futures.ProcessPoolExecutor()
* issue #30171: Emit ResourceWarning in multiprocessing Queue destructor

I propose to emit a ResourceWarning warning in concurrent.futures executor destructor if it wasn't cleaned up properly, if shutdown() wasn't called.

----------
components: Library (Lib)
messages: 292849
nosy: haypo, xiang.zhang
priority: normal
severity: normal
status: open
title: Emit a ResourceWarning in concurrent.futures executor destructors
type: resource usage
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30244>
_______________________________________


More information about the New-bugs-announce mailing list