[pypy-svn] r57635 - pypy/branch/typeobject-init/pypy/objspace/std
arigo at codespeak.net
arigo at codespeak.net
Tue Aug 26 19:22:29 CEST 2008
Author: arigo
Date: Tue Aug 26 19:22:27 2008
New Revision: 57635
Modified:
pypy/branch/typeobject-init/pypy/objspace/std/typeobject.py
Log:
Fix for test_versionedtype.
Modified: pypy/branch/typeobject-init/pypy/objspace/std/typeobject.py
==============================================================================
--- pypy/branch/typeobject-init/pypy/objspace/std/typeobject.py (original)
+++ pypy/branch/typeobject-init/pypy/objspace/std/typeobject.py Tue Aug 26 19:22:27 2008
@@ -48,6 +48,7 @@
from pypy.objspace.std.typetype import type_typedef as typedef
lazyloaders = {} # can be overridden by specific instances
+ version_tag = None
uses_object_getattribute = False
# ^^^ for config.objspace.std.getattributeshortcut
@@ -77,7 +78,7 @@
if space.config.objspace.std.withtypeversion:
if w_self.instancetypedef.hasdict or custom_metaclass:
- w_self.version_tag = None
+ pass
else:
w_self.version_tag = VersionTag()
More information about the Pypy-commit
mailing list