[pypy-svn] r72757 - pypy/branch/cpython-extension/pypy/module/cpyext

xoraxax at codespeak.net xoraxax at codespeak.net
Wed Mar 24 21:47:09 CET 2010


Author: xoraxax
Date: Wed Mar 24 21:47:07 2010
New Revision: 72757

Modified:
   pypy/branch/cpython-extension/pypy/module/cpyext/macros.py
Log:
Make debug message more useful.

Modified: pypy/branch/cpython-extension/pypy/module/cpyext/macros.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/module/cpyext/macros.py	(original)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/macros.py	Wed Mar 24 21:47:07 2010
@@ -28,7 +28,7 @@
     state = space.fromcache(State)
     pto = obj.c_obj_type
     pto = rffi.cast(PyTypeObjectPtr, pto)
-    print "Calling ", pto.c_tp_dealloc, "of", obj, \
+    print "Calling dealloc slot of", obj, \
           "'s type which is", rffi.charp2str(pto.c_tp_name)
     generic_cpy_call(space, pto.c_tp_dealloc, obj, decref_args=False)
 



More information about the Pypy-commit mailing list