17 Mar
2016
17 Mar
'16
2:12 a.m.
On Wed, Mar 16, 2016 at 06:58:55PM -0700, Rick Johnson wrote:
I avoid __all__ like the plague. Too easy for it to get out of sync with the API when i forget to add a new symbol.
In that case why not simply also avoid 'from .. import *' like the plague? It seems far simpler than renaming every single import, which places a permanent burden on future maintainers, code completing editors, grep, etc. FWIW I'd probably _break _down _and cry _if _faced _with _maintaining _code _like _that. David