diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2023-01-19 18:14:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-19 18:14:55 (GMT) |
commit | e9ccfe4a636d5fe33f65cea2605c3621ffa55f19 (patch) | |
tree | 56949db98d45d3f744f893e6f8d4909041a679fc /Lib/opcode.py | |
parent | a1e051a23736fdf3da812363bcaf32e53a294f03 (diff) | |
download | cpython-e9ccfe4a636d5fe33f65cea2605c3621ffa55f19.zip cpython-e9ccfe4a636d5fe33f65cea2605c3621ffa55f19.tar.gz cpython-e9ccfe4a636d5fe33f65cea2605c3621ffa55f19.tar.bz2 |
gh-100712: make it possible to disable specialization (for debugging) (#100713)
Diffstat (limited to 'Lib/opcode.py')
-rw-r--r-- | Lib/opcode.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py index 46051b2..c317e23 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 |