File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
graalpython/com.oracle.graal.python.cext/src Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -75,9 +75,13 @@ PyObject * PyExc_ZeroDivisionError = NULL;
75
75
PyObject * PyExc_ArithmeticError = NULL ;
76
76
PyObject * PyExc_StopIteration = NULL ;
77
77
PyObject * PyExc_BufferError = NULL ;
78
+ PyObject * PyExc_AssertionError = NULL ;
79
+ PyObject * PyExc_UnboundLocalError = NULL ;
80
+ PyObject * PyExc_NotImplementedError = NULL ;
78
81
79
82
void initialize_exceptions () {
80
83
PyExc_AttributeError = PY_EXCEPTION ("AttributeError" );
84
+ PyExc_AssertionError = PY_EXCEPTION ("AssertionError" );
81
85
PyExc_BaseException = PY_EXCEPTION ("BaseException" );
82
86
PyExc_BytesWarning = PY_EXCEPTION ("BytesWarning" );
83
87
PyExc_DeprecationWarning = PY_EXCEPTION ("DeprecationWarning" );
@@ -107,6 +111,8 @@ void initialize_exceptions() {
107
111
PyExc_ArithmeticError = PY_EXCEPTION ("ArithmeticError" );
108
112
PyExc_StopIteration = PY_EXCEPTION ("StopIteration" );
109
113
PyExc_BufferError = PY_EXCEPTION ("BufferError" );
114
+ PyExc_UnboundLocalError = PY_EXCEPTION ("UnboundLocalError" );
115
+ PyExc_NotImplementedError = PY_EXCEPTION ("NotImplementedError" );
110
116
}
111
117
112
118
You can’t perform that action at this time.
0 commit comments