[ZODB-Dev] Strange behaviour of __dict__ and dir on Persistent derived classes

Tim Peters tim at zope.com
Thu Jul 22 11:46:45 EDT 2004


[Syver Enstad]
> I found out that inspect.mro works with ExtensionClass so I use that.

Do you mean inspect.getmro()?  We're lucky there:  I wrote that part of
inspect.py, but didn't have ExtensionClass in mind at all, just "old-style"
classes.  I think ExtensionClass uses the old-style MRO definition, though,
and if so this should work fine!  Cool.



More information about the ZODB-Dev mailing list