Commit f06b7580 authored by Kevin Modzelewski's avatar Kevin Modzelewski

These Pyston functions need to throw the capi error fatalOrError might generate

parent dbfcd1f2
...@@ -946,7 +946,7 @@ Box* rawInput(Box* prompt) { ...@@ -946,7 +946,7 @@ Box* rawInput(Box* prompt) {
Box* input(Box* prompt) { Box* input(Box* prompt) {
fatalOrError(PyExc_NotImplementedError, "unimplemented"); fatalOrError(PyExc_NotImplementedError, "unimplemented");
return nullptr; throwCAPIException();
} }
Box* builtinRound(Box* _number, Box* _ndigits) { Box* builtinRound(Box* _number, Box* _ndigits) {
...@@ -963,12 +963,12 @@ Box* builtinRound(Box* _number, Box* _ndigits) { ...@@ -963,12 +963,12 @@ Box* builtinRound(Box* _number, Box* _ndigits) {
} }
fatalOrError(PyExc_NotImplementedError, "unimplemented"); fatalOrError(PyExc_NotImplementedError, "unimplemented");
return nullptr; throwCAPIException();
} }
Box* builtinCmp(Box* lhs, Box* rhs) { Box* builtinCmp(Box* lhs, Box* rhs) {
fatalOrError(PyExc_NotImplementedError, "unimplemented"); fatalOrError(PyExc_NotImplementedError, "unimplemented");
return nullptr; throwCAPIException();
} }
void setupBuiltins() { void setupBuiltins() {
......
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