[Zope-dev] New-tyle extension class MRO decisiion

Jim Fulton jim at zope.com
Sat Nov 29 09:27:36 EST 2003


Sidnei da Silva wrote:
> I think it was decided for the non-mro approach,  though no one stated
> it clearly.

We are using a mro approach. :)

We aren't using the C3 algorithm for new-style extension classes.

The MRO computation for new-style extension classes is designed to
maximize backward compatability.  The algorithm is described in detail
in the docstring for the test_mro test in
lib/python/ExtensionClass/tests.py.

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org





More information about the Zope-Dev mailing list