You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't reexport star-imported symbols when implicit reexports are disabled
Currently, in regular files, symbols imported into module A with `from B
import *` are considered explicitly exported from module B as well, i.e.
they are considered part of module's B public API.
This behavior makes sense in stub files as a shorthand (and is specified
in PEP 484), but for regular files I think it is better to be explicit:
add the symbols to `__all__`.
Further discussion:
python#7042 (comment)
0 commit comments