eric7/DebugClients/Python/coverage/collector.py

branch
eric7
changeset 8527
2bd1325d727e
parent 8312
800c432b34c8
child 8775
0802ae193343
equal deleted inserted replaced
8526:587202572b10 8527:2bd1325d727e
53 # and popped when stopped. Collectors on the stack are paused when not 53 # and popped when stopped. Collectors on the stack are paused when not
54 # the top, and resumed when they become the top again. 54 # the top, and resumed when they become the top again.
55 _collectors = [] 55 _collectors = []
56 56
57 # The concurrency settings we support here. 57 # The concurrency settings we support here.
58 SUPPORTED_CONCURRENCIES = set(["greenlet", "eventlet", "gevent", "thread"]) 58 SUPPORTED_CONCURRENCIES = {"greenlet", "eventlet", "gevent", "thread"}
59 59
60 def __init__( 60 def __init__(
61 self, should_trace, check_include, should_start_context, file_mapper, 61 self, should_trace, check_include, should_start_context, file_mapper,
62 timid, branch, warn, concurrency, 62 timid, branch, warn, concurrency,
63 ): 63 ):

eric ide

mercurial