<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pkgsrc/lang/py-extclass, branch TNF</title>
<subtitle>[no description]</subtitle>
<id>https://git.osdyson.ru/mirror/pkgsrc/atom?h=TNF</id>
<link rel='self' href='https://git.osdyson.ru/mirror/pkgsrc/atom?h=TNF'/>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/'/>
<updated>1999-12-30T21:37:02Z</updated>
<entry>
<title>Extension Classes for Python, pulled from Zope 2.1.1 as they (and</title>
<updated>1999-12-30T21:37:02Z</updated>
<author>
<name>tsarna</name>
<email>tsarna@pkgsrc.org</email>
</author>
<published>1999-12-30T21:37:02Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/mirror/pkgsrc/commit/?id=97cbe2e4ad5d69a9ca1cd3175a546652017df1d0'/>
<id>urn:sha1:97cbe2e4ad5d69a9ca1cd3175a546652017df1d0</id>
<content type='text'>
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).</content>
</entry>
</feed>
