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

[mypyc] Don't borrow list items on free-threaded builds by JukkaL · Pull Request #21679 · python/mypy · GitHub

/ mypy Public

[mypyc] Don't borrow list items on free-threaded builds - #21679

Merged
JukkaL merged 7 commits into
masterfrom
mypyc-safe-list
Jul 6, 2026
Merged

[mypyc] Don't borrow list items on free-threaded builds#21679
JukkaL merged 7 commits into
masterfrom
mypyc-safe-list

Conversation

JukkaL commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Borrowing list items is unsafe on free-threaded builds, since another thread could be concurrently mutating the list.

Also make it possible to have different expected test case outputs on free-threaded and GIL-enabled builds.

Work on mypyc/mypyc#1202.

JukkaL merged commit ee07656 into master Jul 6, 2026
18 checks passed
JukkaL deleted the mypyc-safe-list branch July 6, 2026 13:38
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