[pypy-svn] r71340 - pypy/branch/string-promote/pypy/objspace/std
fijal at codespeak.net
fijal at codespeak.net
Fri Feb 19 19:14:21 CET 2010
Author: fijal
Date: Fri Feb 19 19:14:19 2010
New Revision: 71340
Modified:
pypy/branch/string-promote/pypy/objspace/std/typeobject.py
Log:
promote version tag here (this is needed)
Modified: pypy/branch/string-promote/pypy/objspace/std/typeobject.py
==============================================================================
--- pypy/branch/string-promote/pypy/objspace/std/typeobject.py (original)
+++ pypy/branch/string-promote/pypy/objspace/std/typeobject.py Fri Feb 19 19:14:19 2010
@@ -242,7 +242,7 @@
space = w_self.space
w_self = hint(w_self, promote=True)
assert space.config.objspace.std.withmethodcache
- version_tag = w_self.version_tag()
+ version_tag = hint(w_self.version_tag(), promote=True)
if version_tag is None:
tup = w_self._lookup_where(name)
return tup
More information about the Pypy-commit
mailing list