KEMBAR78
Use more lower case builtins in error messages by cdce8p · Pull Request #19177 · python/mypy · GitHub
Skip to content

Conversation

cdce8p
Copy link
Collaborator

@cdce8p cdce8p commented May 30, 2025

No description provided.

@cdce8p cdce8p added the topic-pep-585 PEP 585 (builtin generics) label May 30, 2025
@github-actions
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

prefect (https://github.com/PrefectHQ/prefect)
- src/prefect/utilities/collections.py:478: error: Cannot instantiate type "Type[tuple[Any]]"  [misc]
+ src/prefect/utilities/collections.py:478: error: Cannot instantiate type "type[tuple[Any]]"  [misc]

pandera (https://github.com/pandera-dev/pandera)
- pandera/engines/pandas_engine.py:74: error: Cannot assign multiple types to name "TYPEGUARD_ERROR" without an explicit "Type[...]" annotation  [misc]
+ pandera/engines/pandas_engine.py:74: error: Cannot assign multiple types to name "TYPEGUARD_ERROR" without an explicit "type[...]" annotation  [misc]

@hauntsaninja hauntsaninja merged commit e57ece0 into python:master May 30, 2025
19 checks passed
@cdce8p cdce8p deleted the more-lowercase-builtins branch May 30, 2025 19:27
cdce8p added a commit to cdce8p/mypy that referenced this pull request May 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic-pep-585 PEP 585 (builtin generics)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants