summaryrefslogtreecommitdiffstats
path: root/Python/pylifecycle.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-01-23 20:48:42 (GMT)
committerGitHub <noreply@github.com>2024-01-23 20:48:42 (GMT)
commitf63dec94f6b0249e5376617bec1ecb03da7723b2 (patch)
tree66df04853e75d5c35628975010ce889f928c0ee8 /Python/pylifecycle.c
parenta73a6a3c69bedee52b7a828b4bd133d76becd73c (diff)
downloadcpython-f63dec94f6b0249e5376617bec1ecb03da7723b2.zip
cpython-f63dec94f6b0249e5376617bec1ecb03da7723b2.tar.gz
cpython-f63dec94f6b0249e5376617bec1ecb03da7723b2.tar.bz2
[3.12] gh-101438: Avoid reference cycle in ElementTree.iterparse. (GH-114269) (GH-114499)
The iterator returned by ElementTree.iterparse() may hold on to a file descriptor. The reference cycle prevented prompt clean-up of the file descriptor if the returned iterator was not exhausted. (cherry picked from commit ce01ab536f22a3cf095d621f3b3579c1e3567859) Co-authored-by: Sam Gross <colesbury@gmail.com>
Diffstat (limited to 'Python/pylifecycle.c')
0 files changed, 0 insertions, 0 deletions