summaryrefslogtreecommitdiff
path: root/Lib/opcode.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2013-04-30 09:41:40 -0400
committerBenjamin Peterson <benjamin@python.org>2013-04-30 09:41:40 -0400
commit3b0431dc6019d2f9ffa9adcaa78ddd3f7b76a2f5 (patch)
tree7f98ecba2e560776b91856eb74487c26c73d5d0d /Lib/opcode.py
parentf256f5f3ebf6574a2708cfea36d857846893e71f (diff)
downloadcpython-git-3b0431dc6019d2f9ffa9adcaa78ddd3f7b76a2f5.tar.gz
check local class namespace before reaching for cells (closes #17853)
Diffstat (limited to 'Lib/opcode.py')
-rw-r--r--Lib/opcode.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py
index a639fe322b..4657b86ef9 100644
--- a/Lib/opcode.py
+++ b/Lib/opcode.py
@@ -179,6 +179,9 @@ def_op('LIST_APPEND', 145)
def_op('SET_ADD', 146)
def_op('MAP_ADD', 147)
+def_op('LOAD_CLASSDEREF', 148)
+hasfree.append(148)
+
def_op('EXTENDED_ARG', 144)
EXTENDED_ARG = 144