8000 Documentation should be updated to for new namespace pkg support · Issue #5757 · python/mypy · GitHub
[go: up one dir, main page]

Skip to content

Documentation should be updated to for new namespace pkg support #5757

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 < 8000 a class="Link--inTextBlock" href="https://docs.github.com/terms" target="_blank">terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
chrisphilip322 opened this issue Oct 9, 2018 · 4 comments
Closed

Comments

@chrisphilip322
Copy link
Contributor

#5691 and #5591 added support for importing type hints from namespace packages according to pep 561 but the documentation hasn't been updated to reflect it https://mypy.readthedocs.io/en/latest/installed_packages.html#using-pep-561-compatible-packages-with-mypy

Specifically :

Note that mypy does not support some more advanced import features, such as zip imports, namespace packages, and custom import hooks.

I suggest simply updating the docs to:

Note that mypy does not support some more advanced import features, such as zip imports, namespace packages, and custom import hooks.

@gvanrossum
Copy link
Member
gvanrossum commented Oct 9, 2018 via email

gvanrossum added a commit that referenced this issue Oct 9, 2018
Follow-up for #5691. Should be cherry-picked into the release (#5741). Fixes #5757.
@chrisphilip322
Copy link
Contributor Author

I was specifically referring to this part of the documentation. https://github.com/python/mypy/blame/master/docs/source/installed_packages.rst#L28 which was not touched by #5749

gvanrossum added a commit that referenced this issue Oct 9, 2018
Follow-up for #5691. Should be cherry-picked into the release (#5741). Fixes #5757.
@gvanrossum
Copy link
Member
gvanrossum commented Oct 9, 2018 via email

@gvanrossum
Copy link
Member
gvanrossum commented Oct 9, 2018 via email

Sign up for free to join this conversation on GitHub. Already have a 433D n account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0