[pypy-svn] r40133 - pypy/dist/pypy/objspace/std
ac at codespeak.net
ac at codespeak.net
Fri Mar 9 18:19:54 CET 2007
Author: ac
Date: Fri Mar 9 18:19:53 2007
New Revision: 40133
Modified:
pypy/dist/pypy/objspace/std/typeobject.py
Log:
(pedronis, arre) Stop the mutated method from moving up to W_Root.
Modified: pypy/dist/pypy/objspace/std/typeobject.py
==============================================================================
--- pypy/dist/pypy/objspace/std/typeobject.py (original)
+++ pypy/dist/pypy/objspace/std/typeobject.py Fri Mar 9 18:19:53 2007
@@ -223,6 +223,7 @@
w_self.version_tag = VersionTag()
subclasses_w = w_self.get_subclasses()
for w_subclass in subclasses_w:
+ assert isinstance(w_subclass, W_TypeObject)
w_subclass.mutated()
def ready(w_self):
More information about the Pypy-commit
mailing list