[mod_python] preventing module level access

Gregory (Grisha) Trubetskoy grisha at modpython.org
Mon Mar 22 14:21:32 EST 2004

This is something specific to the Publisher handler, so you probably read
it in the Publisher section of the docs.

The whole module access can be prevented with:

__access__ = 0


On Mon, 22 Mar 2004, Robert Thomas Davis wrote:

> Hey guys, this should be an easy one.
> I know one can use an underscore to
> prevent access to functions.  I also know
> I have read about a way to prevent
> all the functions in a module from
> being able to be accessed...I just cant
> seem to find the place where I read it.
> Thanks

More information about the Mod_python mailing list