We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc61993 commit b751e17Copy full SHA for b751e17
graalpython/com.oracle.graal.python.cext/src/object.c
@@ -141,7 +141,6 @@ PyObject _Py_NotImplementedStruct = {
141
PyObject* PyType_GenericAlloc(PyTypeObject* cls, Py_ssize_t nitems) {
142
Py_ssize_t size = cls->tp_basicsize + cls->tp_itemsize * nitems;
143
PyObject* newObj = (PyObject*)PyObject_Malloc(size);
144
- memset(newObj, 0, size);
145
if(cls->tp_dictoffset) {
146
*((PyObject **) ((char *)newObj + cls->tp_dictoffset)) = NULL;
147
}
0 commit comments