[pypy-svn] r56058 - pypy/dist/pypy/module/gc

fijal at codespeak.net fijal at codespeak.net
Wed Jun 25 06:48:08 CEST 2008


Author: fijal
Date: Wed Jun 25 06:48:05 2008
New Revision: 56058

Modified:
   pypy/dist/pypy/module/gc/interp_gc.py
Log:
CPython's gc.collect returns number of unreachable cycles. In our case
this is always 0


Modified: pypy/dist/pypy/module/gc/interp_gc.py
==============================================================================
--- pypy/dist/pypy/module/gc/interp_gc.py	(original)
+++ pypy/dist/pypy/module/gc/interp_gc.py	Wed Jun 25 06:48:05 2008
@@ -5,6 +5,7 @@
 def collect(space):
     "Run a full collection."
     rgc.collect()
+    return space.wrap(0)
     
 collect.unwrap_spec = [ObjSpace]
 



More information about the Pypy-commit mailing list