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-16.01:21:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1608081708.71.0.818003814793.issue35930@roundup.psfhosted.org>
In-reply-to
Content
Even more reproductible case, now 100%:

"""
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
1/0  # Raises another exception drop references to the future one
gc.set_debug(gc.DEBUG_SAVEALL)
gc.collect()
gc.garbage
"""
History
Date User Action Args
2020-12-16 01:21:48jceasetrecipients: + jcea
2020-12-16 01:21:48jceasetmessageid: <1608081708.71.0.818003814793.issue35930@roundup.psfhosted.org>
2020-12-16 01:21:48jcealinkissue35930 messages
2020-12-16 01:21:48jceacreate