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

All Samples(4)  |  Call(0)  |  Derive(0)  |  Import(4)
Python implementation of the access control machinery.

src/a/c/AccessControl-3.0.8/src/AccessControl/Implementation.py   AccessControl(Download)
        from AccessControl import ImplC as impl
    elif name == "PYTHON":
        from AccessControl import ImplPython as impl
    else:
        raise ValueError("unknown policy implementation: %r" % name)

src/a/c/AccessControl-3.0.8/src/AccessControl/SecurityManager.py   AccessControl(Download)
'''
 
from AccessControl import ImplPython as _ImplPython
from AccessControl.SimpleObjectPolicies import _noroles
 

src/a/c/AccessControl-3.0.8/src/AccessControl/tests/testZopeSecurityPolicy.py   AccessControl(Download)
        self._resetImplementation(self._implementation_name)
 
        from AccessControl import ImplPython
        self.assertEqual(self._getModule().__name__,
                         ImplPython._defaultPolicy.__module__)
    def _getModule(self):
        from AccessControl import ImplPython
        return ImplPython
 
class C_SMTests(SecurityManagerTestsBase):