ZODB: don't like self._p_changed
maxm at mxm.dk
Thu Jan 9 10:56:38 CET 2003
Thomas Guettler wrote:
> I like ZODB very much. With it I don't need to
> squeeze my application into database tables.
> Unfortunately you need to set self._p_changed=1
> if you change a list of the object.
> self._p_changed=1 # This is needed
You could also just do::
l = self.my_list
self.my_list = l
> Will this disappear in the future?
Probably not. How should an object know if a mutable subobject has been
hilsen/regards Max M
Fremtiden, videnskab, skeptiscisme og transhumanisme
More information about the Python-list