Skip to content
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

Made proposed change to the typing spec with regard to NoReturn and… #1570

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

erictraut
Copy link
Collaborator

… where it can be used.

Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

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

I agree, I have many existing use-cases for NoReturn in different contexts. I think that making it not-the-same-as Never is aсtually an unneeded complexity.

Copy link
Collaborator

@hauntsaninja hauntsaninja left a comment

Choose a reason for hiding this comment

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

Thanks! The phrasing might be read as implying some sort of stylistic preference, curious if that was intentional

@erictraut
Copy link
Collaborator Author

The phrasing might be read as implying some sort of stylistic preference, curious if that was intentional

Not really. The intention was to try to give some background explanation for why there are two ways to spell the same type — and where each has typically been used. If you have a suggestion for how to improve the wording, let me know.

@JelleZijlstra JelleZijlstra merged commit 071c685 into python:main Jan 12, 2024
3 checks passed
@JelleZijlstra
Copy link
Member

Merged as this has been approved by all Council members. I think the wording is fine, but we can tweak it in a follow-up PR if desired.

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.

6 participants