diff Lib/opcode.py @ 83572:cf65c7a75f55

check local class namespace before reaching for cells (closes #17853)
author Benjamin Peterson <benjamin@python.org>
date Tue, 30 Apr 2013 09:41:40 -0400
parents 22dc0a433b0e
children 6db3741e59be
line wrap: on
line diff
--- a/Lib/opcode.py	Tue Apr 30 16:34:30 2013 +0300
+++ b/Lib/opcode.py	Tue Apr 30 09:41:40 2013 -0400
@@ -179,6 +179,9 @@
 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