[zope2-tracker] [Bug 659968] Re: guarded_import does not support 5-args form

Hanno Schlichting hanno at hannosch.eu
Fri Oct 15 07:10:24 EDT 2010


I've seen the same problem.

I added the first workaround in r117566 in the 2.12 branch (and merged
to the standalone AccessControl distribution). The guared_import
function now accepts the level argument, but only supports level 0 at
the moment. You get an explicit Unauthorized message if a different
level is specified.

I couldn't find a good explanation of the semantics of the level
argument, so I couldn't easily figure out how to support it in full.

** Changed in: zope2
   Importance: Undecided => Medium

** Changed in: zope2
       Status: New => In Progress

-- 
guarded_import does not support 5-args form
https://bugs.launchpad.net/bugs/659968
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.


More information about the zope2-tracker mailing list