Skip to content

Remove support for builtins.Any#18578

Merged
hauntsaninja merged 1 commit into
python:masterfrom
cdce8p:remove-builtins-Any
Feb 1, 2025
Merged

Remove support for builtins.Any#18578
hauntsaninja merged 1 commit into
python:masterfrom
cdce8p:remove-builtins-Any

Conversation

@cdce8p

@cdce8p cdce8p commented Jan 31, 2025

Copy link
Copy Markdown
Collaborator

While doing some cleanup, I noticed a reference to builtins.Any. To the best of my knowledge, it was never implemented.

@github-actions

Copy link
Copy Markdown
Contributor

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

@JelleZijlstra JelleZijlstra left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find. I guess if you put something called Any in builtins, will automatically recognize it as the real Any.

@hauntsaninja hauntsaninja merged commit f44a60d into python:master Feb 1, 2025
@cdce8p cdce8p deleted the remove-builtins-Any branch February 1, 2025 02:22
x612skm pushed a commit to x612skm/mypy-dev that referenced this pull request Feb 24, 2025
While doing some cleanup, I noticed a reference to `builtins.Any`. To
the best of my knowledge, it was never implemented.
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.

3 participants