1. Mark Shannon
  2. hotpy_2

Commits

Mark Shannon  committed 22d89bd Draft

Fix compiler error when Py_DEBUG not defined

  • Participants
  • Parent commits 2cba09f
  • Branches default

Comments (0)

Files changed (1)

File Python/pystate.c

View file
         tstate->optimiser = NULL;
         tstate->execution_context = NULL;
         tstate->trace_recording = 0;
+#ifdef Py_DEBUG
         tstate->_InstructionLog = NULL;
+#endif
 
         if (init)
             _PyThreadState_Init(tstate);