eric6/DebugClients/Python/coverage/env.py

changeset 7275
9a25fe1fab84
parent 6942
2602857055c5
child 7427
362cd1b6f81a
diff -r 81e450f9d314 -r 9a25fe1fab84 eric6/DebugClients/Python/coverage/env.py
--- a/eric6/DebugClients/Python/coverage/env.py	Thu Sep 26 17:58:32 2019 +0200
+++ b/eric6/DebugClients/Python/coverage/env.py	Fri Sep 27 10:56:04 2019 +0200
@@ -28,6 +28,9 @@
 class PYBEHAVIOR(object):
     """Flags indicating this Python's behavior."""
 
+    # Is "if not __debug__" optimized away even better?
+    optimize_if_not_debug2 = (not PYPY) and (PYVERSION >= (3, 8, 0, 'beta', 1))
+
     # When a break/continue/return statement in a try block jumps to a finally
     # block, does the finally block do the break/continue/return (pre-3.8), or
     # does the finally jump back to the break/continue/return (3.8) to do the

eric ide

mercurial