• Vincent Pelletier's avatar
    all: Remove references to im_self. · 6b289998
    Vincent Pelletier authored
    It is superseded by __self__, which (where applicable) prevents
    acquisition and getattr-based traversal, improving performance.
    Patch AccessControl.users.BasicUser._check_context to extend this change
    to zope code (and simplify it in the process).
    Also, make __ac_local_roles__ accesses consistent with other places in
    our own code as well as in PAS & AccessControl.
    6b289998
__init__.py 8.57 KB