Mike Orr wrote:
[...]
There's also the overhead of remembering to update '__all__', and to
think about what might need to be exposed. Exceptions tend to be the
biggest oversight. If you define an exception, you may think that its
only purpose is to make the traceback more descriptive and so the
caller has no need to access it directly. But they may want to put it
in an 'except' clause, so it should be exposed.
However, I've come to the conclusion that "import *" produces
hard-to-read code, so I use it rarely.
Hence:
__all__ = []
No need to update that. :)
Dan