FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-142763: Fix race in ZoneInfo cache eviction by colesbury · Pull Request #144978 · python/cpython · GitHub

/ cpython Public

gh-142763: Fix race in ZoneInfo cache eviction - #144978

Merged
colesbury merged 2 commits into
python:mainfrom
colesbury:gh-142763-zoneinfo-cache-race
Mar 10, 2026
Merged

gh-142763: Fix race in ZoneInfo cache eviction#144978
colesbury merged 2 commits into
python:mainfrom
colesbury:gh-142763-zoneinfo-cache-race

Conversation

colesbury commented Feb 18, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

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

colesbury marked this pull request as ready for review February 19, 2026 12:31
colesbury requested a review from pganssle as a code owner February 19, 2026 12:31
colesbury requested a review from Yhg1s February 19, 2026 12:32
colesbury merged commit 665c1db into python:main Mar 10, 2026
53 checks passed

Copy link
Copy Markdown

Thanks @colesbury for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

colesbury deleted the gh-142763-zoneinfo-cache-race branch March 10, 2026 18:48
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 10, 2026
The cache may be cleared between the evaluation of the if statement and the
call to popitem.
(cherry picked from commit 665c1db)

Co-authored-by: Sam Gross <colesbury@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 10, 2026
The cache may be cleared between the evaluation of the if statement and the
call to popitem.
(cherry picked from commit 665c1db)

Co-authored-by: Sam Gross <colesbury@gmail.com>

bedevere-app Bot commented Mar 10, 2026

Copy link
Copy Markdown

GH-145781 is a backport of this pull request to the 3.14 branch.

bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Mar 10, 2026

bedevere-app Bot commented Mar 10, 2026

Copy link
Copy Markdown

GH-145782 is a backport of this pull request to the 3.13 branch.

bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Mar 10, 2026
colesbury added a commit that referenced this pull request Mar 10, 2026
…45782)

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

(cherry picked from commit 665c1db)

Co-authored-by: Sam Gross <colesbury@gmail.com>
colesbury added a commit that referenced this pull request Mar 10, 2026
…45781)

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

(cherry picked from commit 665c1db)

Co-authored-by: Sam Gross <colesbury@gmail.com>
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
The cache may be cleared between the evaluation of the if statement and the
call to popitem.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL