[pypy-svn] r79833 - pypy/branch/psycopg2compatibility/pypy/module/cpyext
dan at codespeak.net
dan at codespeak.net
Sun Dec 5 01:19:42 CET 2010
Author: dan
Date: Sun Dec 5 01:19:41 2010
New Revision: 79833
Modified:
pypy/branch/psycopg2compatibility/pypy/module/cpyext/pyobject.py
Log:
DEBUG_REFCOUNT works again!
Modified: pypy/branch/psycopg2compatibility/pypy/module/cpyext/pyobject.py
==============================================================================
--- pypy/branch/psycopg2compatibility/pypy/module/cpyext/pyobject.py (original)
+++ pypy/branch/psycopg2compatibility/pypy/module/cpyext/pyobject.py Sun Dec 5 01:19:41 2010
@@ -235,8 +235,7 @@
ref = self.py_objects_w2r.get(w_obj, lltype.nullptr(PyObject.TO))
if not ref:
if DEBUG_REFCOUNT:
- print >>sys.stderr, "Borrowed object is already gone:", \
- hex(containee)
+ print >>sys.stderr, "Borrowed object is already gone:", w_obj
return
containee_ptr = rffi.cast(ADDR, ref)
More information about the Pypy-commit
mailing list