zopefoundation / persistent

automatic persistence for Python objects
https://pypi.org/project/persistent/
Other
46 stars 28 forks source link

Fix the CFFI cache implementation to not print AttributeErrors. #161

Closed jamadden closed 3 years ago

jamadden commented 3 years ago

Only affects CPython when PURE_PYTHON=1.

Add tests for this. They're a bit dicey because this is a hard situation to get into, but they do test the symptoms.

Fixes #150

jamadden commented 3 years ago

I think this is a pretty simple change.

Are there any interested reviewers?

jamadden commented 3 years ago

Thank you!