Skip to content

Prohibit bytes literals in named tuples #13271

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

Merged
merged 2 commits into from
Jul 28, 2022

Conversation

ilevkivskyi
Copy link
Member

All tests examples I added fail at runtime. This is a tiny follow up for #13254

cc @JelleZijlstra

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@ilevkivskyi
Copy link
Member Author

The PR is trivial, so I will not wait for review.

@ilevkivskyi ilevkivskyi merged commit 35ab579 into python:master Jul 28, 2022
@ilevkivskyi ilevkivskyi deleted the no-bytes-nt branch July 28, 2022 12:50
@JelleZijlstra
Copy link
Member

Thanks, looks good. I think NewType and TypedDict may have the same issue still.

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.

2 participants