KEMBAR78
Disallow inline config of Python version by hauntsaninja · Pull Request #18497 · python/mypy · GitHub
Skip to content

Conversation

hauntsaninja
Copy link
Collaborator

Fixes #18450

@github-actions

This comment has been minimized.

Copy link
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

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

Thanks!

@hauntsaninja
Copy link
Collaborator Author

Added a test (but note it's not a test for the specific crash reported, since we'd need full stubs for that)

@github-actions
Copy link
Contributor

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

@hauntsaninja hauntsaninja merged commit 48d888a into python:master Jan 25, 2025
18 checks passed
@hauntsaninja hauntsaninja deleted the envfix branch January 25, 2025 03:06
x612skm pushed a commit to x612skm/mypy-dev that referenced this pull request Feb 24, 2025
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.

Inline configuration for a newer Python version crashes for union syntax on types (PEP 604)

2 participants