• Jim Fulton's avatar
    - Databases have a new method, transaction, that can be used with the · d2a26bcc
    Jim Fulton authored
      Python (2.5 and later) with statement::
    
    db = ZODB.DB(...)
         with db.transaction() as conn:
              # ... do stuff with conn
    
    This uses a private transaction manager for the connection.
      If control exists the block without an error, the transaction is
      committed, otherwise, it is aborted.
    
    - Connections now have a public ``opened`` attribute that is true when
      the connection is open, and false otherwise.  When true, it is the
      seconds since the epoch (time.time()) when the connection was
      opened. This is a renaming of the previous ``_opened`` private
      variable.
    d2a26bcc
To find the state of this project's repository at the time of any of these versions, check out the tags.
CHANGES.txt 17.2 KB