[ZODB-Dev] Todo: Zope support for Slots and Decorators?
Tim Peters
tim.peters at gmail.com
Fri Jun 1 12:07:59 EDT 2007
[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 ;-)
More information about the ZODB-Dev
mailing list