SIGN IN SIGN UP

[3.13] gh-142763: Fix race in ZoneInfo cache eviction (gh-144978) (#145782)

The cache may be cleared between the evaluation of the if statement and the
call to popitem.

(cherry picked from commit 665c1db94f46f8e1a18a8c2f89adb3bc72cb83dc)

Co-authored-by: Sam Gross <colesbury@gmail.com>
M
Miss Islington (bot) committed
af1ad531638cb8ef44efc83321e36a98fc55f7e5
Parent: 37e9d84
Committed by GitHub <noreply@github.com> on 3/10/2026, 7:12:34 PM