[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope-dev
Subject:    [Zope-dev] New-tyle extension class MRO decisiion
From:       Jim Fulton <jim () zope ! com>
Date:       2003-11-29 14:27:36
[Download RAW message or body]

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@zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org



_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic