mirror of
https://github.com/pocketpy/pocketpy
synced 2026-08-10 16:17:11 +08:00
Merge branch 'main' into sandbox
This commit is contained in:
commit
eab5a75372
@ -867,6 +867,7 @@ enum py_PredefinedType {
|
|||||||
tp_SyntaxError,
|
tp_SyntaxError,
|
||||||
tp_RecursionError,
|
tp_RecursionError,
|
||||||
tp_OSError,
|
tp_OSError,
|
||||||
|
tp_PermissionError,
|
||||||
tp_NotImplementedError,
|
tp_NotImplementedError,
|
||||||
tp_TypeError,
|
tp_TypeError,
|
||||||
tp_IndexError,
|
tp_IndexError,
|
||||||
|
|||||||
@ -195,6 +195,7 @@ void VM__ctor(VM* self) {
|
|||||||
INJECT_BUILTIN_EXC(SyntaxError, tp_Exception);
|
INJECT_BUILTIN_EXC(SyntaxError, tp_Exception);
|
||||||
INJECT_BUILTIN_EXC(RecursionError, tp_Exception);
|
INJECT_BUILTIN_EXC(RecursionError, tp_Exception);
|
||||||
INJECT_BUILTIN_EXC(OSError, tp_Exception);
|
INJECT_BUILTIN_EXC(OSError, tp_Exception);
|
||||||
|
INJECT_BUILTIN_EXC(PermissionError, tp_OSError);
|
||||||
INJECT_BUILTIN_EXC(NotImplementedError, tp_Exception);
|
INJECT_BUILTIN_EXC(NotImplementedError, tp_Exception);
|
||||||
INJECT_BUILTIN_EXC(TypeError, tp_Exception);
|
INJECT_BUILTIN_EXC(TypeError, tp_Exception);
|
||||||
INJECT_BUILTIN_EXC(IndexError, tp_Exception);
|
INJECT_BUILTIN_EXC(IndexError, tp_Exception);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user