You might also be able to do the __bases__ hack with Zope 2.8 (as long as Python 2.3+ allows you to assign to it), as it reimplements ExtensionClass using metaclasses instead of custom C hackery.
On Fri, 2005-05-20 at 14:46 -0400, Paul Winkler wrote: > On Fri, May 20, 2005 at 01:48:46PM -0400, Dan Pozmanter wrote: > > What I aim to do is have the User Object inherit from a custom class > > (AlienUser). > > You can do that in two ways off the top of my head: > > 1) the good way: write a custom UserFolder. > You could probably get away with just inheriting from UserFolder and > overriding _doAddUser(). > > 2) the hacky way: monkeypatch User.py to replace SimpleUser > with your class. > > either way the stuff you are interested in is in AccessControl/User.py. > > _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )