mirror of
https://github.com/pocketpy/pocketpy
synced 2026-02-06 23:50:17 +00:00
Compare commits
1 Commits
eaa2e6d6f9
...
a51d7bba02
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a51d7bba02 |
@ -1169,12 +1169,9 @@ __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