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
In Doc/tutorial/modules.rst, the current wording about import * usage is not sufficiently strong:
- "However, it is okay to use it to save typing in interactive sessions."
This phrasing has two main issues:
- Understates risks: Framing it as "okay" minimizes the potential problems with wildcard imports
- Incomplete guidance: Fails to explicitly warn against using this pattern in production code
- Ambiguous justification: "Save typing" implies convenience is the primary consideration, ignoring namespace pollution risks