diff options
author | tsarna <tsarna> | 1999-12-30 21:37:02 +0000 |
---|---|---|
committer | tsarna <tsarna> | 1999-12-30 21:37:02 +0000 |
commit | 152593de9987598bde2931bfdb3742ccc096b136 (patch) | |
tree | 91cb703e9969af15b61778b122b97e83dc416237 /security/sudo | |
parent | e611bd3f6d9688c25ebdf2a4958ca7f6ca1f7de5 (diff) | |
download | pkgsrc-152593de9987598bde2931bfdb3742ccc096b136.tar.gz |
Extension Classes for Python, pulled from Zope 2.1.1 as they (and
especially Acquisition) can be quite useful in their own right.
EC fixes a wart in CPython: Python classes can't use C-implemented types
as base classes. EC-based C classes can be subclassed by python, and in
fact python classes can use pure mixin EC C classes so that you can have
speed critical methods of a class in C and the rest in Python.
EC also provides a mixin called Acquisition, which provides a kind of
contextual inheritance. If an object can't find the data/method in
itself or by looking up it's list of base classes, it will then try to
acquire the thing up through its containers (or other context).
Diffstat (limited to 'security/sudo')
0 files changed, 0 insertions, 0 deletions