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

GitHub noreply at github.com
Mon Jul 24 23:58:41 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/ZODB
  Commit: 6741dcfc03dbb50616b8e55cb50a26a8b18d9ee4
      https://github.com/zopefoundation/ZODB/commit/6741dcfc03dbb50616b8e55cb50a26a8b18d9ee4
  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
    A src/ZODB/tests/test_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.


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

  Changed paths:
    M CHANGES.rst

  Log Message:
  -----------
  Imperative voice
[skip ci]


  Commit: a3f435290bca748dff7252085a87a0a4f14f0ae3
      https://github.com/zopefoundation/ZODB/commit/a3f435290bca748dff7252085a87a0a4f14f0ae3
  Author: Jason Madden <jason+github at nextthought.com>
  Date:   2017-07-24 (Mon, 24 Jul 2017)

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

  Log Message:
  -----------
  Merge pull request #170 from zopefoundation/issue78

HistoricalStorageAdapter forwards release() to its instance


Compare: https://github.com/zopefoundation/ZODB/compare/5056d49e79bc...a3f435290bca


More information about the checkins mailing list