[Zope-dev] New-style classes and Persistence?

Evan Simpson evan at 4-am.com
Thu Sep 11 22:27:34 EDT 2003


What's the latest word on mixing new-style classes and Persistence?  I'm 
finding type subclassing to be extremely useful in PythonLibraries, but 
so far I'm only using them for non-persistent objects.  For part of what 
I'm doing, though, it would be nice to be able to chuck the old 
PersistentList and PersistentMap, and replace them with actual list and 
map subclasses.  As far as I know, trying to mix them *directly* is a 
no-no, but is there any problem with making a new-style class instance 
an attribute of a Persistent ExtensionClass?

Cheers,

Evan @ 4-am





More information about the Zope-Dev mailing list