Tom Ritchford
Apr 28, 2024

--

This article would be much better if it started with the warning that from module import * is a very bad idea, because it dumps a huge number of symbols into this namespace, and exactly which symbols they are might be different between versions of the module, or versions of Python.

Most Python linters will flag this statement, and most production projects these days use some sort of linting anyway.

There is literally no good reason to do this!

--

--