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

Use cache for OpExpr by ilevkivskyi · Pull Request #19523 · python/mypy · GitHub

Repository navigation

Use cache for OpExpr - #19523

Merged
ilevkivskyi merged 1 commit into
python:masterfrom
ilevkivskyi:cache-op-expr
Jul 29, 2025
Merged

ilevkivskyi merged 1 commit into
python:masterfrom
ilevkivskyi:cache-op-expr

Conversation

Copy link
Copy Markdown
Member

Fixes #14978

This is irrelevant for self-check (and for most code likely), but it is important for numerical code, where it avoids exponential slowdown in formulas involving arrays etc (see e.g. the original issue).

Unless there will be fallout in mypy_primer and/or there are objections, I am going to go ahead and merge it.

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

ilevkivskyi merged commit c53367f into python:master Jul 29, 2025
ilevkivskyi deleted the cache-op-expr branch July 29, 2025 01:12
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.

Mypy stuck with polynomial using NumPy

1 participant


Back | FazBrowse Home | New Git URL