You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (PyErr_ExceptionMatches(PyExc_StopIteration) ||
97
-
PyErr_ExceptionMatches(PyExc_SystemError)) { // TODO this handles a result like SystemError: Objects/dictobject.c:1778: bad argument to internal function. Why are we getting that?
98
-
PyErr_Clear();
99
-
}
100
-
else {
101
-
returnfalse;
102
-
}
103
-
}
104
-
105
-
JS::RootedValue done(cx, JS::BooleanValue(true));
106
-
if (!JS_SetProperty(cx, result, "done", done)) returnfalse;
0 commit comments