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

xoraxax at codespeak.net xoraxax at codespeak.net
Thu Apr 8 22:57:00 CEST 2010


Author: xoraxax
Date: Thu Apr  8 22:56:58 2010
New Revision: 73573

Modified:
   pypy/branch/cpython-extension/pypy/module/cpyext/__init__.py
Log:
Fix lost objects in the tests.

Modified: pypy/branch/cpython-extension/pypy/module/cpyext/__init__.py
==============================================================================
--- pypy/branch/cpython-extension/pypy/module/cpyext/__init__.py	(original)
+++ pypy/branch/cpython-extension/pypy/module/cpyext/__init__.py	Thu Apr  8 22:56:58 2010
@@ -34,6 +34,7 @@
         for func in api.INIT_FUNCTIONS:
             func()
             state.check_and_raise_exception()
+        state.non_heaptypes[:] = []
 
 # import these modules to register api functions by side-effect
 import pypy.module.cpyext.pyobject



More information about the Pypy-commit mailing list