File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
graalpython/com.oracle.graal.python.cext/src Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ PyObject * PyExc_FutureWarning = NULL;
112
112
PyObject * PyExc_ImportWarning = NULL ;
113
113
PyObject * PyExc_UnicodeWarning = NULL ;
114
114
PyObject * PyExc_BytesWarning = NULL ;
115
+ PyObject * PyExc_EncodingWarning = NULL ;
115
116
PyObject * PyExc_ResourceWarning = NULL ;
116
117
117
118
void initialize_exceptions () {
@@ -182,6 +183,7 @@ void initialize_exceptions() {
182
183
PyExc_ImportWarning = PY_EXCEPTION ("ImportWarning" );
183
184
PyExc_UnicodeWarning = PY_EXCEPTION ("UnicodeWarning" );
184
185
PyExc_BytesWarning = PY_EXCEPTION ("BytesWarning" );
186
+ PyExc_EncodingWarning = PY_EXCEPTION ("EncodingWarning" );
185
187
PyExc_ResourceWarning = PY_EXCEPTION ("ResourceWarning" );
186
188
}
187
189
You can’t perform that action at this time.
0 commit comments