Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[red-knot] rename module_global to global #12385

Merged
merged 1 commit into from
Jul 18, 2024
Merged

Conversation

carljm
Copy link
Contributor

@carljm carljm commented Jul 18, 2024

Per comments in #12269, "module global" is kind of long, and arguably redundant.

I tried just using "module" but there were too many cases where I felt this was ambiguous. I like the way "global" works out better, though it does require an understanding that in Python "global" generally means "module global" not "globally global" (though in a sense module globals are also globally global since modules are singletons).

@MichaReiser MichaReiser added the red-knot Multi-file analysis & type inference label Jul 18, 2024
Copy link
Contributor

github-actions bot commented Jul 18, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Base automatically changed from cjm/scope-lookups to main July 18, 2024 17:50
@carljm carljm merged commit 181e7b3 into main Jul 18, 2024
20 checks passed
@carljm carljm deleted the cjm/rename-module-global branch July 18, 2024 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
red-knot Multi-file analysis & type inference
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants