Am 22.01.2009, 17:46 Uhr, schrieb Jamie McQuay ja...@scimatic.com:
Hi,
I'm using ZODB in a desktop app (i.e. not using zope).
I have class A which contains a list of instances for class B.
I can persist class A when the list of class B is empty. When i add
an instance of class B to the
Hello Jamie,
I would say to persist that object either you rewrite it in python,
(and use the persistent module)
or fiddle around the __getstate__ and __setstate__ methods.
Though no idea how you can get those working with your swig'ed
objects.
See: http://docs.python.org/library/pickle.html