File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3484,7 +3484,7 @@ PyInterpreterView_FromMain(void)
34843484// thread state was attached.
34853485// To do this, we just use the memory address of a global variable and
34863486// cast it to a PyThreadState *.
3487- static int NO_TSTATE_SENTINEL = 0 ;
3487+ static const int NO_TSTATE_SENTINEL = 0 ;
34883488
34893489PyThreadState *
34903490PyThreadState_Ensure (PyInterpreterGuard * guard )
Original file line number Diff line number Diff line change @@ -198,9 +198,6 @@ Python/pystate.c - _Py_tss_tstate -
198198Python/pystate.c - _Py_tss_gilstate -
199199Python/pystate.c - _Py_tss_interp -
200200
201- # Global sentinel that is fine to share across interpreters
202- Python/pystate.c - NO_TSTATE_SENTINEL -
203-
204201##-----------------------
205202## should be const
206203# XXX Make them const.
You can’t perform that action at this time.
0 commit comments