pkgsrc/lang/py-extclass/pkg
tsarna 27c2e33584 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).
1999-12-30 21:37:02 +00:00
..
COMMENT Extension Classes for Python, pulled from Zope 2.1.1 as they (and 1999-12-30 21:37:02 +00:00
DESCR Extension Classes for Python, pulled from Zope 2.1.1 as they (and 1999-12-30 21:37:02 +00:00
PLIST Extension Classes for Python, pulled from Zope 2.1.1 as they (and 1999-12-30 21:37:02 +00:00