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
gh-79512: Fixed names and __module__ value of weakref classes #93719
gh-79512: Fixed names and __module__ value of weakref classes #93719
Conversation
Classes ReferenceType, ProxyType and CallableProxyType have now correct atrtributes __module__, __name__ and __qualname__. It makes them pickleable.
b5f60c3
to
9c04de8
Compare
Thanks @serhiy-storchaka for the PR |
…ythonGH-93719) Classes ReferenceType, ProxyType and CallableProxyType have now correct atrtributes __module__, __name__ and __qualname__. It makes them (types, not instances) pickleable. (cherry picked from commit 8352e32) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
GH-93789 is a backport of this pull request to the 3.11 branch. |
Sorry, @serhiy-storchaka, I could not cleanly backport this to |
Thanks @serhiy-storchaka for the PR |
Sorry @serhiy-storchaka, I had trouble checking out the |
Thanks @serhiy-storchaka for the PR |
Thanks @serhiy-storchaka for the PR |
Classes ReferenceType, ProxyType and CallableProxyType have now correct atrtributes __module__, __name__ and __qualname__. It makes them (types, not instances) pickleable. (cherry picked from commit 8352e32) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Classes ReferenceType, ProxyType and CallableProxyType have now correct
attributes
__module__
,__name__
and__qualname__
. It makes them pickleable.#79512