mirror of
https://github.com/pocketpy/pocketpy
synced 2026-02-04 06:30:17 +00:00
Compare commits
2 Commits
a51d7bba02
...
eaa2e6d6f9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eaa2e6d6f9 | ||
|
|
2f776ae05a |
@ -1169,9 +1169,12 @@ __NEXT_STEP:
|
||||
if(has_invalid) {
|
||||
py_clearexc(NULL);
|
||||
TypeError("catching classes that do not inherit from BaseException is not allowed");
|
||||
c11_vector__pop(&frame->exc_stack);
|
||||
goto __ERROR_RE_RAISE;
|
||||
} else {
|
||||
py_newbool(TOP(), ok);
|
||||
DISPATCH();
|
||||
}
|
||||
py_newbool(TOP(), ok);
|
||||
DISPATCH();
|
||||
}
|
||||
case OP_HANDLE_EXCEPTION: {
|
||||
FrameExcInfo* info = Frame__top_exc_info(frame);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user