[pypy-svn] r69170 - pypy/trunk/pypy/module/gc
antocuni at codespeak.net
antocuni at codespeak.net
Wed Nov 11 15:19:03 CET 2009
Author: antocuni
Date: Wed Nov 11 15:19:02 2009
New Revision: 69170
Modified:
pypy/trunk/pypy/module/gc/__init__.py
Log:
remove dump_heap_stats in ootype translations
Modified: pypy/trunk/pypy/module/gc/__init__.py
==============================================================================
--- pypy/trunk/pypy/module/gc/__init__.py (original)
+++ pypy/trunk/pypy/module/gc/__init__.py Wed Nov 11 15:19:02 2009
@@ -14,3 +14,9 @@
'garbage' : 'space.newlist([])',
'dump_heap_stats': 'interp_gc.dump_heap_stats',
}
+
+ def __init__(self, space, w_name):
+ ts = space.config.translation.type_system
+ if ts == 'ootype':
+ del self.interpleveldefs['dump_heap_stats']
+ MixedModule.__init__(self, space, w_name)
More information about the Pypy-commit
mailing list