-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyPy/Pure-Python: PickleCache.new_ghost
destroys any information passed to __new__
#49
Comments
Avoiding clearing the dict/slots in It shouldn't be too hard to add some tests and work up a PR. |
jamadden
added a commit
that referenced
this issue
Oct 28, 2016
PickleCache. Fixes #49. Unfortunately, this doesn't fix the whole problem, because _p_deactivate() still clears them, and so we lose what we set in __new__.
Unfortunately, this doesn't seem to be fully fixable. Moving discussion back over to #44 since that was the source of the problem. |
jamadden
added a commit
that referenced
this issue
Dec 19, 2016
PickleCache. Fixes #49. Unfortunately, this doesn't fix the whole problem, because _p_deactivate() still clears them, and so we lose what we set in __new__.
jamadden
added a commit
that referenced
this issue
Dec 19, 2016
PickleCache. Fixes #49. Unfortunately, this doesn't fix the whole problem, because _p_deactivate() still clears them, and so we lose what we set in __new__.
fabiomaggio
pushed a commit
to fabiomaggio/persistent
that referenced
this issue
Feb 20, 2017
PickleCache. Fixes zopefoundation#49. Unfortunately, this doesn't fix the whole problem, because _p_deactivate() still clears them, and so we lose what we set in __new__.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Spurred from the work in #44, with a lengthy description in #44 (comment)
Both dicts and slots are affected and need a test case.
The text was updated successfully, but these errors were encountered: