Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)

src/r/e/repoze.zope2-1.0.3/repoze/zope2/tests/test_z2bob.py   repoze.zope2(Download)
        from zope.security.management import endInteraction
        from AccessControl.SecurityManagement import newSecurityManager
        from AccessControl.SecurityManagement import _managers
        helper = self._makeOne()
        if queryInteraction() is not None:

src/a/c/AccessControl-3.0.8/src/AccessControl/tests/testZopeGuards.py   AccessControl(Download)
    def setSecurityManager(self, manager):
        from AccessControl.SecurityManagement import get_ident
        from AccessControl.SecurityManagement import _managers
        key = get_ident()
        old = _managers.get(key)
    def _initPolicyAndManager(self, manager=None):
        from AccessControl.SecurityManagement import get_ident
        from AccessControl.SecurityManagement import _managers
        from AccessControl.SecurityManagement import newSecurityManager
        from AccessControl.SecurityManager import setSecurityPolicy