[pypy-svn] r49736 - pypy/branch/pypy-gc-traceopt/rpython
arigo at codespeak.net
arigo at codespeak.net
Thu Dec 13 19:11:42 CET 2007
Author: arigo
Date: Thu Dec 13 19:11:42 2007
New Revision: 49736
Modified:
pypy/branch/pypy-gc-traceopt/rpython/rpbc.py
Log:
Merge of r49735 from the trunk.
Modified: pypy/branch/pypy-gc-traceopt/rpython/rpbc.py
==============================================================================
--- pypy/branch/pypy-gc-traceopt/rpython/rpbc.py (original)
+++ pypy/branch/pypy-gc-traceopt/rpython/rpbc.py Thu Dec 13 19:11:42 2007
@@ -666,7 +666,7 @@
if desc not in self.s_pbc.descriptions:
raise TyperError("%r not in %r" % (cls, self))
if self.lowleveltype is Void:
- return desc.pyobj
+ return None
return rclass.get_type_repr(self.rtyper).convert_desc(desc)
def convert_const(self, cls):
More information about the Pypy-commit
mailing list