[pypy-commit] pypy stmgc-c8: disable cpyext on stm

Raemi pypy.commits at gmail.com
Thu Feb 25 04:02:31 EST 2016


Author: Remi Meier <remi.meier at gmail.com>
Branch: stmgc-c8
Changeset: r82489:19cfa846e509
Date: 2016-02-25 10:01 +0100
http://bitbucket.org/pypy/pypy/changeset/19cfa846e509/

Log:	disable cpyext on stm

	We don't support the rawrefcount functionality in our GC, and I
	think there is no fallback available.

diff --git a/pypy/goal/targetpypystandalone.py b/pypy/goal/targetpypystandalone.py
--- a/pypy/goal/targetpypystandalone.py
+++ b/pypy/goal/targetpypystandalone.py
@@ -231,6 +231,9 @@
             # for now, disable _vmprof: the JIT's stm parts are not adapted
             # to track the stack depth
             config.objspace.usemodules._vmprof = False
+            # we don't support rlib.rawrefcount for our GC, so we need
+            # to disable cpyext...
+            config.objspace.usemodules.cpyext = False
 
         if config.objspace.allworkingmodules:
             from pypy.config.pypyoption import enable_allworkingmodules


More information about the pypy-commit mailing list