On Mon, Mar 21, 2011 at 10:38 AM, Martijn Faassen <faas...@startifact.com> wrote: > On 03/21/2011 03:28 PM, Jim Fulton wrote: >> I don't know what the right answer is ... at least not yet. :) > > In Django and sqlalchemy declarative a meta class is used for this kind > of configuration. Since that is subclassing, it implies inheritance, I > think.
Ick. > Of course metaclasses are not very good for this as they're surprising > in other ways Agreed. Jim -- Jim Fulton http://www.linkedin.com/in/jimfulton _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )