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 <rep...@bugs.python.org>
<http://bugs.python.org/issue16284>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to