From: Larry Hastings Date: Mon, 2 Mar 2015 16:44:51 +0000 (-0800) Subject: Issue #21293: Remove unnecessary "capsule hack". X-Git-Tag: v3.5.0a2~43^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=42fc0eb82712b1aa2890e5ee1c22be0bb7ddd83a;p=python Issue #21293: Remove unnecessary "capsule hack". --- diff --git a/Objects/object.c b/Objects/object.c index 42cbbcd33f..c1d7a05e41 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -1825,9 +1825,6 @@ _Py_GetObjects(PyObject *self, PyObject *args) #endif -/* Hack to force loading of pycapsule.o */ -PyTypeObject *_PyCapsule_hack = &PyCapsule_Type; - /* Hack to force loading of abstract.o */ Py_ssize_t (*_Py_abstract_hack)(PyObject *) = PyObject_Size;