PY-47281 Exclude names from internal modules of libraries from auto-importing

Namely, names such as "numpy.random._examples.numba.extending.numbacall" or
"numpy.testing._private.noseclasses.NumpyDoctest" should no longer be suggested,
unless they are also exported in a public package higher in the hierarchy.

It doesn't not affect definitions from internal modules that belong to project
sources, these are still offered in the lookup.

GitOrigin-RevId: 2be393f30bd7d9905a31bdbe8db101807c136617
This commit is contained in:
Mikhail Golubev
2021-02-19 16:19:51 +00:00
committed by intellij-monorepo-bot
parent df979257a6
commit 6f9013eb6b
13 changed files with 56 additions and 0 deletions