[Python-Dev] creating __all__ in extension modules

Skip Montanaro skip@mojam.com (Skip Montanaro)
Fri, 2 Feb 2001 09:34:04 -0600 (CST)


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.  (This in contrast to
Python modules where lots of cruft creeps in.)

If you think this assumption is incorrect and some other approach is needed,
speak now.

Thanks,

Skip