Message383112
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
""" |
|
Date |
User |
Action |
Args |
2020-12-16 01:21:48 | jcea | set | recipients:
+ jcea |
2020-12-16 01:21:48 | jcea | set | messageid: <1608081708.71.0.818003814793.issue35930@roundup.psfhosted.org> |
2020-12-16 01:21:48 | jcea | link | issue35930 messages |
2020-12-16 01:21:48 | jcea | create | |
|