eric6/DebugClients/Python/coverage/env.py

changeset 7275
9a25fe1fab84
parent 6942
2602857055c5
child 7427
362cd1b6f81a
equal deleted inserted replaced
7274:81e450f9d314 7275:9a25fe1fab84
26 26
27 # Python behavior 27 # Python behavior
28 class PYBEHAVIOR(object): 28 class PYBEHAVIOR(object):
29 """Flags indicating this Python's behavior.""" 29 """Flags indicating this Python's behavior."""
30 30
31 # Is "if not __debug__" optimized away even better?
32 optimize_if_not_debug2 = (not PYPY) and (PYVERSION >= (3, 8, 0, 'beta', 1))
33
31 # When a break/continue/return statement in a try block jumps to a finally 34 # When a break/continue/return statement in a try block jumps to a finally
32 # block, does the finally block do the break/continue/return (pre-3.8), or 35 # block, does the finally block do the break/continue/return (pre-3.8), or
33 # does the finally jump back to the break/continue/return (3.8) to do the 36 # does the finally jump back to the break/continue/return (3.8) to do the
34 # work? 37 # work?
35 finally_jumps_back = (PYVERSION >= (3, 8)) 38 finally_jumps_back = (PYVERSION >= (3, 8))

eric ide

mercurial