ruff
[ty] include nested `global`/`nonlocal` bindings in type inference
#25387
Open

[ty] include nested `global`/`nonlocal` bindings in type inference #25387

oconnor663 wants to merge 14 commits into main from jack/nonlocal4
oconnor663
oconnor663 WIP: ScopeInfo changes
52313d5c
oconnor663 WIP: test changes
73031ac6
oconnor663 WIP: synthetic nested bindings definitions
3453dafa
oconnor663 WIP: shadowing behavior
83b45af6
oconnor663 WIP: default args
52904a18
oconnor663 WIP: classes don't see nested nonlocal writes
7209d46f
oconnor663 WIP: clean up the nonlocal walk
12c50def
oconnor663 WIP: fix add_binding
8aa6857a
oconnor663 WIP: snapshot changes
19625056
astral-sh-bot astral-sh-bot added ty
astral-sh-bot
astral-sh-bot
astral-sh-bot
oconnor663 short-circuit optimization
152d7a59
oconnor663 boxing optimization
92925409
oconnor663
oconnor663 oconnor663 marked this pull request as ready for review 2 days ago
oconnor663 oconnor663 requested a review from carljm carljm 2 days ago
oconnor663 oconnor663 requested a review from AlexWaygood AlexWaygood 2 days ago
oconnor663 oconnor663 requested a review from sharkdp sharkdp 2 days ago
oconnor663 oconnor663 requested a review from dcreager dcreager 2 days ago
oconnor663 oconnor663 requested a review from ibraheemdev ibraheemdev 2 days ago
oconnor663 oconnor663 requested a review from MichaReiser MichaReiser 2 days ago
oconnor663 oconnor663 requested a review from Gankra Gankra 2 days ago
oconnor663 oconnor663 requested a review from BurntSushi BurntSushi 2 days ago
astral-sh-bot astral-sh-bot assigned dcreager dcreager 2 days ago
oconnor663
oconnor663
oconnor663 commented on 2026-05-26
oconnor663
oconnor663 commented on 2026-05-26
oconnor663
oconnor663 commented on 2026-05-26
oconnor663
oconnor663 commented on 2026-05-26
oconnor663 work around the isort performance drop
bc0f98d3
oconnor663 lint fixes
a4e9ce2e
oconnor663 fix comment typos
c51c3590

Login to write a write a comment.

Login via GitHub

Assignees
Labels
Milestone