diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-06-14 19:12:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-14 19:12:51 (GMT) |
commit | 29c7e815bc6087bfa0f34855d8313b16f236dd34 (patch) | |
tree | 43f5d86415ed505ee379ec12431979c4665aa922 /Python/initconfig.c | |
parent | 8dc5df4e21964ec746634cd19d4ffe60acf5e0f6 (diff) | |
download | cpython-29c7e815bc6087bfa0f34855d8313b16f236dd34.zip cpython-29c7e815bc6087bfa0f34855d8313b16f236dd34.tar.gz cpython-29c7e815bc6087bfa0f34855d8313b16f236dd34.tar.bz2 |
gh-79512: Fixed names and __module__ value of weakref classes (GH-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 8352e322e87ba39c71e578b65ad8ae156ca3e0c7)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Python/initconfig.c')
0 files changed, 0 insertions, 0 deletions