Skip to content

gh-146054: Limit the growth of encodings.search_function cache#146055

Merged
encukou merged 5 commits intopython:mainfrom
StanFromIreland:encodings-cache
Mar 17, 2026
Merged

gh-146054: Limit the growth of encodings.search_function cache#146055
encukou merged 5 commits intopython:mainfrom
StanFromIreland:encodings-cache

Conversation

@StanFromIreland
Copy link
Member

@StanFromIreland StanFromIreland commented Mar 17, 2026

Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but lets see what @malemburg says.

Copy link
Member

@malemburg malemburg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@StanFromIreland
Copy link
Member Author

Thanks for the reviews!

The CI is not running :-(, updating the branch to try and fix it.

@encukou encukou merged commit 9d7621b into python:main Mar 17, 2026
50 checks passed
@StanFromIreland StanFromIreland deleted the encodings-cache branch March 17, 2026 14:07
@StanFromIreland StanFromIreland added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Mar 17, 2026
@miss-islington-app
Copy link

Thanks @StanFromIreland for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Thanks @StanFromIreland for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 17, 2026
pythonGH-146055)

(cherry picked from commit 9d7621b)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 17, 2026
pythonGH-146055)

(cherry picked from commit 9d7621b)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
@bedevere-app
Copy link

bedevere-app bot commented Mar 17, 2026

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

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Mar 17, 2026
@StanFromIreland
Copy link
Member Author

I think we can treat it as a bug fix, but I also don't feel strongly about it.

@bedevere-app
Copy link

bedevere-app bot commented Mar 17, 2026

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

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Mar 17, 2026
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.

5 participants