[Zope3-dev] DISCUSS: Zope3 and Zope2's version object

Jeremy Hylton jeremy@zope.com
Mon, 28 Jan 2002 06:00:35 -0500


>>>>> "GvR" == Guido van Rossum <guido@python.org> writes:

  >> Where would you store the modified version then ?
  GvR> Same place as where you keep it in general until you commit a
  GvR> transaction.  I.e. it's the application's problem.

Which is fine if you can write an entire application as a single
transaction, but isn't a general solution.  On of the benefits of
transactions is to get more flexible control over persistence than
a coarse application execution boundary.

I think it would be beneficial, though, if there was a simpler way to
lock an object than to modify it.  But the modifications should be
able to live in a locked "version" (for lack of a better word).

Jeremy