Jesús Cea Avión <j...@jcea.es> added the comment: 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 """ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35930> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com