Skip to content

Commit 727db54

Browse files
committed
Comment out check that fails on managed
1 parent 4689386 commit 727db54

File tree

1 file changed

+2
-0
lines changed
  • graalpython/com.oracle.graal.python.cext/src

1 file changed

+2
-0
lines changed

graalpython/com.oracle.graal.python.cext/src/structseq.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,11 +496,13 @@ _PyStructSequence_InitType(PyTypeObject *type, PyStructSequence_Desc *desc,
496496
}
497497
#endif
498498

499+
#if 0 // GraalPy change
499500
/* PyTypeObject has already been initialized */
500501
if (Py_REFCNT(type) != 0) {
501502
PyErr_BadInternalCall();
502503
return -1;
503504
}
505+
#endif // GraalPy change
504506

505507
type->tp_name = desc->name;
506508
type->tp_basicsize = sizeof(PyStructSequence) - sizeof(PyObject *);

0 commit comments

Comments
 (0)