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

Add 'FrozenSet' to __all__ #261

Merged
merged 1 commit into from
Aug 14, 2016
Merged

Add 'FrozenSet' to __all__ #261

merged 1 commit into from
Aug 14, 2016

Conversation

Vgr255
Copy link
Contributor

@Vgr255 Vgr255 commented Aug 13, 2016

Mypy would complain if importing 'FrozenSet', since it wasn't in __all__. It happily works now.

I can also submit a patch to b.p.o if needed.

Edit: Yep, I fail at testing, and mypy still complains. Is there something else to do for mypy to recognize FrozenSet is in typing?

Mypy would complain if importing 'FrozenSet', since it wasn't in
__all__. It happily works with it now.
@gvanrossum gvanrossum merged commit 3260042 into python:master Aug 14, 2016
@gvanrossum
Copy link
Member

No need to patch the stdlib version, I will eventually copy this over.

Regarding mypy: I think this needs updates to typing.pyi in typeshed (both versions). For that use the https://github.com/python/typeshed repo to submit a PR.

@Vgr255
Copy link
Contributor Author

Vgr255 commented Aug 14, 2016

Ah, typing.pyi; I didn't think of that. Will do that and submit a PR right away, thanks!

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