[Python-Dev] creating __all__ in extension modules

Fredrik Lundh fredrik@effbot.org
Fri, 2 Feb 2001 16:54:13 +0100


Skip Montanaro wrote:
> I'm diving into adding __all__ lists to extension modules.  My assumption is
> that since it is a much more deliberate decision to add a symbol to an
> extension module's module dict, that any key in the module's dict that
> doesn't begin with an underscore is to be exported.

what's the point?  doesn't from-import already do exactly
that on C extensions?

</F>