[Python-Dev] Choosing a best practice solution for Python/extension modules

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Feb 20 23:02:25 CET 2009


Brett Cannon wrote:
> So while this alleviates the worry 
> above, it does mean that anything that gets rewritten needs to have a 
> name that does not lead with an underscore for this to work.

You can use an __all__ list to explicitly say what
is to be exported.

-- 
Greg


More information about the Python-Dev mailing list