27c2e33584
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). |
||
---|---|---|
.. | ||
COMMENT | ||
DESCR | ||
PLIST |