[Checkins] [zopefoundation/ZODB] 4051c8: HistoricalStorageAdapter forwards release() to its...
GitHub
noreply at github.com
Mon Jul 24 16:57:50 CEST 2017
Branch: refs/heads/issue78
Home: https://github.com/zopefoundation/ZODB
Commit: 4051c82bdf1bb2f4c56013fb73c13b47f30f58f6
https://github.com/zopefoundation/ZODB/commit/4051c82bdf1bb2f4c56013fb73c13b47f30f58f6
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