Hi. I am trying to rewrite Persistent class to python. How can i write
python class that passes this tests (persistent.txt ):

Basic type structure
--------------------
  >>> Persistent.__dictoffset__
  0
  >>> Persistent.__weakrefoffset__
  0
  >>> Persistent.__basicsize__ > object.__basicsize__
  True

and at the same time - it will be possible to create weakreferences to
this class (in PickleCache). Also this class must not have __slots__
(__getstate__ method).

-- 
crchemist
_______________________________________________
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