[Checkins] [zopefoundation/ZODB] 6741dc: HistoricalStorageAdapter forwards release() to its...
GitHub
noreply at github.com
Mon Jul 24 19:23:44 CEST 2017
Branch: refs/heads/issue78
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.
More information about the checkins
mailing list