#2653 Remove star imports
Closed: fixed 3 years ago Opened 9 years ago by pviktori.

Rework imports of the form from module import *, except with modules that are designed to work this way (i.e. define __all__).

Star imports make it more difficult to see where names come from, and names newly added to the imported module can unintentionally shadow variables elsewhere.


As Ana is moving out of the team, I am moving her unresolved tickets to free-to-take pool.

Metadata Update from @pviktori:
- Issue assigned to someone
- Issue set to the milestone: Ticket Backlog

4 years ago

$ find -name '*.py' | xargs grep 'import \*' shows no result. All star imports have been replaced.

Metadata Update from @cheimes:
- Issue close_status updated to: fixed

3 years ago

Login to comment on this ticket.

Metadata