Skip to content

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

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

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

Conversation

@StanFromIreland

@StanFromIreland StanFromIreland commented Mar 17, 2026

Copy link
Copy Markdown
Member

Comment thread Lib/encodings/__init__.py
Comment thread Lib/encodings/__init__.py

@serhiy-storchaka serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

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.

@malemburg malemburg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@StanFromIreland

Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown

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

bedevere-app Bot commented Mar 17, 2026

Copy link
Copy Markdown

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
Copy Markdown
Member Author

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

@bedevere-app

bedevere-app Bot commented Mar 17, 2026

Copy link
Copy Markdown

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
encukou pushed a commit that referenced this pull request Mar 18, 2026
…he (GH-146055) (GH-146068)

(cherry picked from commit 9d7621b)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
encukou pushed a commit that referenced this pull request Mar 18, 2026
…he (GH-146055) (GH-146067)

(cherry picked from commit 9d7621b)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 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