7 Oct
2000
7 Oct
'00
2:40 a.m.
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. Kapil