Commits

Daniel Roberts  committed 002c7b7

In later code these fields are expected to be mangled.

  • Participants
  • Parent commits c8344a9

Comments (0)

Files changed (1)

File pypy/rpython/ootypesystem/rclass.py

 
         for name, attrdef in selfattrs.iteritems():
             if not attrdef.readonly and self.is_quasi_immutable(name):
-                ootype.addFields(self.lowleveltype, {'mutable_'+name: OBJECT})
+                name = mangle('mutable_' + name, self.rtyper.getconfig())
+                ootype.addFields(self.lowleveltype, {name: OBJECT})
 
         classattributes = {}
         baseInstance = self.lowleveltype._superclass