[Checkins] [zopefoundation/ZODB] de47f1: HistoricalStorageAdapter forwards release() to its...

GitHub noreply at github.com
Mon Jul 24 19:21:04 CEST 2017


  Branch: refs/heads/issue78
  Home:   https://github.com/zopefoundation/ZODB
  Commit: de47f18daa0cccb18e931e6702674df0391dfb89
      https://github.com/zopefoundation/ZODB/commit/de47f18daa0cccb18e931e6702674df0391dfb89
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-07-24 (Mon, 24 Jul 2017)

  Changed paths:
    M CHANGES.rst
    M src/ZODB/mvccadapter.py

  Log Message:
  -----------
  HistoricalStorageAdapter forwards release() to its instance

Fixes #78.

Also adjust the base wrapper's __getattr__ to be faster (500 vs 711ns
in a benchmark of the common case) and behave the same on Python 2 vs
Python 3 with regards to exceptions, should a method be implemented as
an descriptor. In practice this probably makes no difference
whatsoever, it's just the same pattern used for forwarding
release.




More information about the checkins mailing list