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)) |