Alexander Belopolsky <[email protected]> added the comment:
> + "NotImplemented" was printed
Hmm, looks like a compiler bug to me. Can anyone reproduce this on a debug
build? In any case, someone with a Windows setup will have to troubleshoot
this further.
Note that the code in abstract.c is supposed to convert NotImplemented returns
to type errors:
static PyObject *
binary_op(PyObject *v, PyObject *w, const int op_slot, const char *op_name)
{
PyObject *result = binary_op1(v, w, op_slot);
if (result == Py_NotImplemented) {
Py_DECREF(result);
return binop_type_error(v, w, op_name);
}
return result;
}
It should be possible to find out why this is not happening by stepping through
this code with a debugger.
----------
nosy: +loewis
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue10654>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com