[Chris Spencer]
A couple questions. Does ZODB support classes using __slots__?


[Jim Fulton]
Much to my surprise, it seems to. I just tried it and it worked just
fine. :)

FYI, this is intentional :-), and was part of the changes to make ZODB
play nicely with Python's new-style classes.  It wasn't tested
heavily, but there are a few very simple __slot__ doctests in
persistent/tests/persistent.txt.  Chris, you should add more tests ;-)
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to