From 8b4312b909abff3100c1f18fb3efa5c25617fee3 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Sat, 29 May 2021 00:29:52 +0100 Subject: bpo-44252: Correctly implement gc support for SSLError objects (GH-26439) --- Modules/_ssl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 1508327..73544bb 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -436,8 +436,7 @@ static PyType_Slot sslerror_type_slots[] = { static PyType_Spec sslerror_type_spec = { .name = "ssl.SSLError", .basicsize = sizeof(PyOSErrorObject), - .flags = (Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | - Py_TPFLAGS_IMMUTABLETYPE | Py_TPFLAGS_HAVE_GC), + .flags = (Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | Py_TPFLAGS_IMMUTABLETYPE), .slots = sslerror_type_slots }; -- cgit v0.12