diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2021-09-15 21:25:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-15 20:25:41 +0200 |
commit | 5dce51a8875d9639786741e962b3cb208596b096 (patch) | |
tree | dc3f0242389915b40d32eb4c196f3c8f2ea24766 /Objects | |
parent | bpo-45207: Make test_gdb.test_pycfunction() quiet (GH-28355) (diff) | |
download | cpython-5dce51a8875d9639786741e962b3cb208596b096.tar.gz cpython-5dce51a8875d9639786741e962b3cb208596b096.tar.bz2 cpython-5dce51a8875d9639786741e962b3cb208596b096.zip |
bpo-45167: Fix deepcopying of GenericAlias (GH-28324)
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/genericaliasobject.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Objects/genericaliasobject.c b/Objects/genericaliasobject.c index 38b68e410c4..dbe5d89b739 100644 --- a/Objects/genericaliasobject.c +++ b/Objects/genericaliasobject.c @@ -418,6 +418,8 @@ static const char* const attr_exceptions[] = { "__mro_entries__", "__reduce_ex__", // needed so we don't look up object.__reduce_ex__ "__reduce__", + "__copy__", + "__deepcopy__", NULL, }; |