This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jcea
Recipients jcea
Date 2020-12-15.21:37:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1608068260.11.0.253653340315.issue35930@roundup.psfhosted.org>
In-reply-to
Content
The corrected test case in the terminal: (a "del" was missing)

"""
import gc
import concurrent.futures
executor = concurrent.futures.ThreadPoolExecutor(999)

def a():
  1/0

future=executor.submit(a)
future.result()
# An exception is raised here. That is normal
del future  # Variable vanish, but data is still there because the cycle
gc.set_debug(gc.DEBUG_SAVEALL)
gc.collect()
gc.garbage
"""
History
Date User Action Args
2020-12-15 21:37:40jceasetrecipients: + jcea
2020-12-15 21:37:40jceasetmessageid: <1608068260.11.0.253653340315.issue35930@roundup.psfhosted.org>
2020-12-15 21:37:40jcealinkissue35930 messages
2020-12-15 21:37:40jceacreate