code: def test_lltrace_does_not_crash_on_subscript_operator(self):
      # If this test fails, it will reproduce a crash reported as
      # bpo-34113. The crash happened at the command line console of
      # debug Python builds with __lltrace__ enabled (only possible in console),
      # when the internal Python stack was negatively adjusted
      stdout = self.run_code(
          """
              import code
  
              console = code.InteractiveConsole()
              console.push('__lltrace__ = 1')
              console.push('a = [1, 2, 3]')
              console.push('a[0] = 1')
              print('unreachable if bug exists')
          """
      )
      self.assertIn("unreachable if bug exists", stdout)
  
file_path: cpython/Lib/test/test_lltrace.py
imports: import dis
  import textwrap
  import unittest
  from test import support
  from test.support import os_helper
  from test.support.script_helper import assert_python_ok
label_desc: Use image node_id 4 for calling the TestLLTrace obj's underlying member method code with example usage: obj.test_lltrace_does_not_crash_on_subscript_operator() without return types