summaryrefslogtreecommitdiffstats
path: root/Python/thread.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2023-08-22 15:29:49 (GMT)
committerGitHub <noreply@github.com>2023-08-22 15:29:49 (GMT)
commitb8f96b5eda5b376b05a9dbf046208388249e30a6 (patch)
treef7835315ca78df8d9b47bcd3622f96751bedbe65 /Python/thread.c
parentadfc118fdab66882599e01a84c22bd897055f3f1 (diff)
downloadcpython-b8f96b5eda5b376b05a9dbf046208388249e30a6.zip
cpython-b8f96b5eda5b376b05a9dbf046208388249e30a6.tar.gz
cpython-b8f96b5eda5b376b05a9dbf046208388249e30a6.tar.bz2
gh-108253: Fix bug in func version cache (#108296)
When a function object changed its version, a stale pointer might remain in the cache. Zap these whenever `func_version` changes (even when set to 0).
Diffstat (limited to 'Python/thread.c')
0 files changed, 0 insertions, 0 deletions