From e9ccfe4a636d5fe33f65cea2605c3621ffa55f19 Mon Sep 17 00:00:00 2001 From: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> Date: Thu, 19 Jan 2023 18:14:55 +0000 Subject: gh-100712: make it possible to disable specialization (for debugging) (#100713) --- Lib/opcode.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Lib/opcode.py') diff --git a/Lib/opcode.py b/Lib/opcode.py index 46051b28a0f..c317e23beae 100644 --- a/Lib/opcode.py +++ b/Lib/opcode.py @@ -33,6 +33,9 @@ hascompare = [] hasfree = [] hasexc = [] + +ENABLE_SPECIALIZATION = True + def is_pseudo(op): return op >= MIN_PSEUDO_OPCODE and op <= MAX_PSEUDO_OPCODE -- cgit v1.2.3