We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 608329a + 75016bd commit ca947beCopy full SHA for ca947be
numpy/core/src/multiarray/descriptor.c
@@ -497,9 +497,6 @@ _convert_from_array_descr(PyObject *obj, int align)
497
else {
498
ret = PyArray_DescrConverter(PyTuple_GET_ITEM(item, 1), &conv);
499
}
500
- if (ret == NPY_FAIL) {
501
- PyObject_Print(PyTuple_GET_ITEM(item, 1), stderr, 0);
502
- }
503
504
else if (PyTuple_GET_SIZE(item) == 3) {
505
newobj = PyTuple_GetSlice(item, 1, 3);
@@ -517,6 +514,7 @@ _convert_from_array_descr(PyObject *obj, int align)
517
514
if (ret == NPY_FAIL) {
518
515
goto fail;
519
516
+
520
if ((PyDict_GetItem(fields, name) != NULL)
521
|| (title
522
&& PyBaseString_Check(title)
0 commit comments