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

Introduce NothingType #1358

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Introduce NothingType #1358

wants to merge 4 commits into from

Conversation

Tinche
Copy link
Member

@Tinche Tinche commented Oct 13, 2024

So I introduced NothingType, but from what I can tell we're not using this anywhere? This is solely for the benefit of third parties annotating their code to accept NOTHING?

@Tinche Tinche linked an issue Oct 13, 2024 that may be closed by this pull request
@hynek
Copy link
Member

hynek commented Oct 14, 2024

I presume this is based on https://discuss.python.org/t/do-we-need-a-valuealias-in-addition-to-typealias/67609? I guess it needs some docs and a changelog entry?

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.

pyright change breaks intended usage of attrs.NOTHING
2 participants