[ZODB-Dev] Article on ZODB Programming
Andrew Kuchling
akuchlin@mems-exchange.org
Tue, 19 Jun 2001 10:33:28 -0400
On Mon, Jun 18, 2001 at 02:52:23PM -0700, Michel Pelletier wrote:
>I don't know the why of it, but the function get_transaction is stuffed
>into the global namespace by ZODB when it is imported. I'm cc:ing the
>zodb-dev list to see if anyone knows why.
This seems reasonable to me. I think of the ZODB providing a
programming language slightly different from Python, one that has
transactional semantics on object modification. In this view, it's
perfectly reasonable to add a new built-in function for getting the
current transaction.
--amk