[pypy-commit] pypy faster-rstruct: try harder to disable cpyext

antocuni noreply at buildbot.pypy.org
Tue Nov 24 14:39:43 EST 2015


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: faster-rstruct
Changeset: r80909:1bf434a1141d
Date: 2015-11-24 20:39 +0100
http://bitbucket.org/pypy/pypy/changeset/1bf434a1141d/

Log:	try harder to disable cpyext

diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py
--- a/pypy/config/pypyoption.py
+++ b/pypy/config/pypyoption.py
@@ -335,6 +335,8 @@
 
 
 def enable_allworkingmodules(config):
+    config.objspace.usemodules.cpyext = False # XXX
+
     modules = working_modules.copy()
     if config.translation.sandbox:
         modules = default_modules
@@ -344,6 +346,7 @@
 
     config.objspace.usemodules.suggest(**dict.fromkeys(modules, True))
 
+
 def enable_translationmodules(config):
     modules = translation_modules
     modules = [name for name in modules if name not in essential_modules]


More information about the pypy-commit mailing list