File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1610,7 +1610,8 @@ static inline void
1610
1610
tstate_activate (PyThreadState * tstate )
1611
1611
{
1612
1612
assert (tstate != NULL );
1613
- assert (tstate_is_alive (tstate ) && tstate_is_bound (tstate ));
1613
+ // XXX assert(tstate_is_alive(tstate));
1614
+ assert (tstate_is_bound (tstate ));
1614
1615
assert (!tstate -> _status .active );
1615
1616
1616
1617
if (!tstate -> _status .bound_gilstate ) {
@@ -1719,7 +1720,8 @@ _PyThreadState_Swap(_PyRuntimeState *runtime, PyThreadState *newts)
1719
1720
tstate_deactivate (oldts );
1720
1721
}
1721
1722
if (newts != NULL ) {
1722
- assert (tstate_is_alive (newts ) && tstate_is_bound (newts ));
1723
+ // XXX assert(tstate_is_alive(newts));
1724
+ assert (tstate_is_bound (newts ));
1723
1725
current_fast_set (runtime , newts );
1724
1726
tstate_activate (newts );
1725
1727
}
You can’t perform that action at this time.
0 commit comments