[pypy-svn] r35843 - pypy/dist/pypy/interpreter
cfbolz at codespeak.net
cfbolz at codespeak.net
Mon Dec 18 11:09:28 CET 2006
Author: cfbolz
Date: Mon Dec 18 11:09:26 2006
New Revision: 35843
Modified:
pypy/dist/pypy/interpreter/typedef.py
Log:
argh! sorry for this. Add the missing attribute in the other case.
Modified: pypy/dist/pypy/interpreter/typedef.py
==============================================================================
--- pypy/dist/pypy/interpreter/typedef.py (original)
+++ pypy/dist/pypy/interpreter/typedef.py Mon Dec 18 11:09:26 2006
@@ -187,6 +187,8 @@
from pypy.objspace.std import dictmultiobject
self.w__dict__ = dictmultiobject.W_DictMultiObject(space,
sharing=True)
+ else:
+ self.w__dict__ = space.newdict()
self.user_setup_slots(w_subtype.nslots)
else:
supercls = cls
More information about the Pypy-commit
mailing list