]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-142763: Fix race in ZoneInfo cache eviction (gh-144978)
authorSam Gross <colesbury@gmail.com>
Tue, 10 Mar 2026 18:47:58 +0000 (14:47 -0400)
committerGitHub <noreply@github.com>
Tue, 10 Mar 2026 18:47:58 +0000 (14:47 -0400)
commit665c1db94f46f8e1a18a8c2f89adb3bc72cb83dc
treeb5b042da783a876bfc79b029831b37bdf77d545c
parent4d0dce0c8ddc4d0321bd590a1a33990edc2e1b08
gh-142763: Fix race in ZoneInfo cache eviction (gh-144978)

The cache may be cleared between the evaluation of the if statement and the
call to popitem.
Lib/zoneinfo/_zoneinfo.py
Misc/NEWS.d/next/Library/2025-12-18-00-00-00.gh-issue-142763.AJpZPVG5.rst [new file with mode: 0644]