Skip to content

MAINT: f2py: Stop setting re._MAXCACHE to 50.#31205

Merged
charris merged 1 commit into
numpy:maintenance/2.4.xfrom
charris:backport-31105
Apr 10, 2026
Merged

MAINT: f2py: Stop setting re._MAXCACHE to 50.#31205
charris merged 1 commit into
numpy:maintenance/2.4.xfrom
charris:backport-31105

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Apr 10, 2026

Backport of #31105.

The value has been set to 50 for more than 20 years. Computers generally have much more memory now than they did 20 years ago, so we should be able to let re use the default.

Closes gh-31104.

AI Disclosure

No AI tools used.

The value has been set to 50 for more than 20 years.  Computers
generally have much more memory now than they did 20 years ago,
so we should be able to let `re` use the default.

Closes numpygh-31104.
@charris charris added this to the 2.4.5 release milestone Apr 10, 2026
@charris charris added 03 - Maintenance 08 - Backport Used to tag backport PRs labels Apr 10, 2026
@charris charris merged commit 8a43bfb into numpy:maintenance/2.4.x Apr 10, 2026
74 checks passed
@charris charris deleted the backport-31105 branch April 10, 2026 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

03 - Maintenance 08 - Backport Used to tag backport PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants