gh-95196: Disable incorrect pickling of the C implemented classmethod descriptors (GH-96383)

This commit is contained in:
Serhiy Storchaka 2022-10-05 14:21:16 +03:00 committed by GitHub
parent f8cbd79d32
commit 77f0249308
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 1 deletions

View file

@ -776,7 +776,7 @@ PyTypeObject PyClassMethodDescr_Type = {
0, /* tp_weaklistoffset */
0, /* tp_iter */
0, /* tp_iternext */
descr_methods, /* tp_methods */
0, /* tp_methods */
descr_members, /* tp_members */
method_getset, /* tp_getset */
0, /* tp_base */