[issue36164] Updating Py_InspectFlag programmatically

2019-03-01 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +12140 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue36164] Updating Py_InspectFlag programmatically

2019-03-01 Thread Atsuo Ishimoto
New submission from Atsuo Ishimoto : I sometime use a hack to start interactive console after running script. .. code-block:: python import os os.environ['PYTHONINSPECT'] = 'x' print("Hello") This hack works because ``PYTHONINSPECT`` is checked `here