]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46787: Fix `ProcessPoolExecutor exception` memory leak (GH-31408) (GH-31408)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 2 May 2022 22:51:20 +0000 (15:51 -0700)
committerGitHub <noreply@github.com>
Mon, 2 May 2022 22:51:20 +0000 (15:51 -0700)
commit51b885a38a6cbf1d11d3c49e0d2c6532944fcd4d
treeb35b5ef236f9177eb73d2e1b8827d91793306c67
parent3fe4e4602ddc84569ea44384812667c0657c9bdb
bpo-46787: Fix `ProcessPoolExecutor exception` memory leak (GH-31408) (GH-31408)

Do not store `ProcessPoolExecutor` work item exception traceback that prevents
exception frame locals from being garbage collected.
(cherry picked from commit 9c204b148fad9742ed19b3bce173073cdec79819)

Co-authored-by: themylogin <themylogin@gmail.com>
Lib/concurrent/futures/process.py
Misc/NEWS.d/next/Library/2022-02-18-20-09-29.bpo-46787.juwWc0.rst [new file with mode: 0644]