[pypy-svn] r79179 - pypy/trunk/pypy/rpython/lltypesystem
arigo at codespeak.net
arigo at codespeak.net
Wed Nov 17 11:43:21 CET 2010
Author: arigo
Date: Wed Nov 17 11:43:20 2010
New Revision: 79179
Modified:
pypy/trunk/pypy/rpython/lltypesystem/llmemory.py
Log:
Fix. It was about the class _gctransformed_wref, so it means that
it was not an issue after translation.
Modified: pypy/trunk/pypy/rpython/lltypesystem/llmemory.py
==============================================================================
--- pypy/trunk/pypy/rpython/lltypesystem/llmemory.py (original)
+++ pypy/trunk/pypy/rpython/lltypesystem/llmemory.py Wed Nov 17 11:43:20 2010
@@ -766,8 +766,10 @@
return '<%s>' % (self,)
def __str__(self):
return 'gctransformed_wref(%s)' % (self._ptr,)
- def _normalizedcontainer(self):
- return self._ptr._obj
+ def _normalizedcontainer(self, check=True):
+ return self._ptr._getobj(check=check)._normalizedcontainer(check=check)
+ def _was_freed(self):
+ return self._ptr._was_freed()
# ____________________________________________________________
More information about the Pypy-commit
mailing list