f2d4d1e4be
Add py-zope.proxy package version 4.3.1. ``zope.proxy`` ============== Proxies are special objects which serve as mostly-transparent wrappers around another object, intervening in the apparent behavior of the wrapped object only when necessary to apply the policy (e.g., access checking, location brokering, etc.) for which the proxy is responsible. zope.proxy is implemented via a C extension module, which lets it do things like lie about its own ``__class__`` that are difficult in pure Python (and were completely impossible before metaclasses). It also proxies all the internal slots (such as ``__int__``/``__str__``/``__add__``).
12 lines
598 B
Text
12 lines
598 B
Text
``zope.proxy``
|
|
==============
|
|
|
|
Proxies are special objects which serve as mostly-transparent
|
|
wrappers around another object, intervening in the apparent behavior of
|
|
the wrapped object only when necessary to apply the policy (e.g., access
|
|
checking, location brokering, etc.) for which the proxy is responsible.
|
|
|
|
zope.proxy is implemented via a C extension module, which lets it do things
|
|
like lie about its own ``__class__`` that are difficult in pure Python (and
|
|
were completely impossible before metaclasses). It also proxies all the
|
|
internal slots (such as ``__int__``/``__str__``/``__add__``).
|