[Zope3-dev] Fatal Python error: can't initialize module MultiMapping when access "++apidoc++/Class/menu.html"

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Nov 29 09:03:32 EST 2004


On Monday 22 November 2004 14:56, Jim Fulton wrote:
> That's a good point. I suggest that apidoc shouldn't *import* modules,
> but should look them up in sys.modules.  This is the strategy used to
> access moduls from untrusted code.

It will use sys.modules, when it can, since __import__ does this when an entry 
is found, right? However, I cannot just use sys.modules, because some of the 
classes you want to look at, might not have been imported.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-dev mailing list