[New-bugs-announce] [issue16284] concurrent.futures ThreadPoolExecutor keeps unnecessary references to worker functions.

Mark Dickinson report at bugs.python.org
Fri Oct 19 12:15:26 CEST 2012


New submission from Mark Dickinson:

The ThreadPoolExecutor unnecessarily keeps references to _WorkItem objects.  With the attached patch (which lacks a test), all tests still pass, and the references are removed as soon as they're no longer needed.

----------
files: kill_reference.diff
keywords: patch
messages: 173318
nosy: bquinlan, mark.dickinson
priority: normal
severity: normal
status: open
title: concurrent.futures ThreadPoolExecutor keeps unnecessary references to worker functions.
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file27619/kill_reference.diff

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


More information about the New-bugs-announce mailing list