[Zope] Underscore Caracter

knight knight@righteous.net
Sat, 7 Oct 2000 02:08:36 -0700 (PDT)


> Chris McDonough wrote:
> > 
> > Yes.  Thank you.
> > 
> > Note however that methods of modules accessed via the underscore namespace
> > may be filtered individually, so although 'replace' exists as a method of
> > the Python string module, this does not necessarily make it accessible
> > implicitly through Zope via _.string.replace.  It happens to be accessible
> > in this case, but I'd bet there are cases in which methods accessible
> > via modules of the _ namespace have been removed for "safe scripting"
> > purposes.
> 
> having recently gone through the code to produce ZModules (defined
> interface for adding modules to _), it was apparent that all the modules
> that live in namespace are completely exposed.

What's the problem with that? Aren't most, if not all, the modules living
in the _ namespace just standard python modules available anyways?

Knight