Skip to content

Fix crash on NamedTuple as attribute - #15404

Merged
ilevkivskyi merged 1 commit into
python:masterfrom
ilevkivskyi:fix-nt-crash
Jun 9, 2023
Merged

ilevkivskyi merged 1 commit into
python:masterfrom
ilevkivskyi:fix-nt-crash

Conversation

@ilevkivskyi

Copy link
Copy Markdown
Member

Fixes #15380

Note I also update the NamedTuple fixture to be much closer to real definition in typing.pyi in typeshed.

@github-actions

github-actions Bot commented Jun 9, 2023

Copy link
Copy Markdown
Contributor

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

@ilevkivskyi
ilevkivskyi merged commit 3cedd27 into python:master Jun 9, 2023
@ilevkivskyi
ilevkivskyi deleted the fix-nt-crash branch June 9, 2023 17:55
jhance pushed a commit that referenced this pull request Jun 12, 2023
Fixes #15380

Note I also update the `NamedTuple` fixture to be much closer to real
definition in `typing.pyi` in typeshed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants