original) (raw)
(Hello,I've updated PEP 561 to clarify that any installed stub package should supersede an installed inline package. In other words if there is:/global/site-packages/pkg/
/user/site-packages/pkg-stubs/Even if pkg in the global site packages is found first and marks that it supports types, the stub package should supersede it.I also point to mypy's docs on its implementation of the PEP (which can be read about here: https://mypy.readthedocs.io/en/latest/installed_packages. html). The implementation has been merged into master and will be available in the 0.590 release.