You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zc.zlibstorage wraps base storage and includes generic __getattr__
to forward all unknown attribute access to base:
https://github.com/zopefoundation/zc.zlibstorage/blob/6d5a3c75/src/zc/zlibstorage/__init__.py#L52-L53
But if base implements loadBeforeEx (zopefoundation/ZODB#323)
the following scenario is then possible:
ZODB sees that zlibstorage provides loadBeforeEx and loads data via
loadBeforeEx instead of loadBefore, but the data are loaded
not decompressed, and ZODB complains about "broken pickle".
-> let's fix this by explicitly wrapping loadBeforeEx if base storage
provides it.
0 commit comments