Commits

Michael Hudson-Doyle committed e3d696c

we must import new to get the classobj!

Comments (0)

Files changed (1)

pypy/interpreter/opcode_app.py

     return etype, value, traceback
 
 def build_class(methods, bases, name):
-    return classobj(name, bases, methods)
+    import new
+    return new.classobj(name, bases, methods)
 
 def print_expr(x):
     import sys