Commit c66b6f17 authored by Boxiang Sun's avatar Boxiang Sun

Implement some PyNumber_XXX function, most of the code are copy from CPython...

Implement some PyNumber_XXX function, most of the code are copy from CPython with some Pyston changes
parent 1eb9a9a6
This diff is collapsed.
......@@ -567,7 +567,7 @@ extern "C" int PyObject_IsTrue(PyObject* o) noexcept {
try {
return o->nonzeroIC();
} catch (ExcInfo e) {
fatalOrError(PyExc_NotImplementedError, "unimplemented");
setCAPIException(e);
return -1;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment