src/eric7/DebugClients/Python/DebugUtilities.py

branch
eric7
changeset 9473
3f23dbf37dbe
parent 9221
bf71ee032bb4
child 9500
5771348ded12
equal deleted inserted replaced
9472:5798ee4a8807 9473:3f23dbf37dbe
7 Module implementing utilities functions for the debug client. 7 Module implementing utilities functions for the debug client.
8 """ 8 """
9 9
10 import json 10 import json
11 import os 11 import os
12 import sys
12 import traceback 13 import traceback
13 import sys 14
15 from collections import namedtuple
16 from inspect import iscode, isframe
14 17
15 # 18 #
16 # Taken from inspect.py of Python 3.4 19 # Taken from inspect.py of Python 3.4
17 # 20 #
18 21
19 from collections import namedtuple
20 from inspect import iscode, isframe
21 22
22 # Create constants for the compiler flags in Include/code.h 23 # Create constants for the compiler flags in Include/code.h
23 # We try to get them from dis to avoid duplication, but fall 24 # We try to get them from dis to avoid duplication, but fall
24 # back to hardcoding so the dependency is optional 25 # back to hardcoding so the dependency is optional
25 try: 26 try:

eric ide

mercurial