[pypy-svn] r17003 - pypy/release/0.7.x/pypy/translator/goal
pedronis at codespeak.net
pedronis at codespeak.net
Sun Aug 28 14:06:51 CEST 2005
Author: pedronis
Date: Sun Aug 28 14:06:50 2005
New Revision: 17003
Modified:
pypy/release/0.7.x/pypy/translator/goal/targetpypystandalone.py
Log:
disabling -boehm thread combination: has not been tested
Modified: pypy/release/0.7.x/pypy/translator/goal/targetpypystandalone.py
==============================================================================
--- pypy/release/0.7.x/pypy/translator/goal/targetpypystandalone.py (original)
+++ pypy/release/0.7.x/pypy/translator/goal/targetpypystandalone.py Sun Aug 28 14:06:50 2005
@@ -57,10 +57,15 @@
# disable translation of the whole of classobjinterp.py
StdObjSpace.setup_old_style_classes = lambda self: None
+ if '-boehm' in __main__.options:
+ print "disabling thread with boehm for stabilitiy (combination not tested)"
+ usemodules = []
+ else:
+ usemodules = ['thread']
space = StdObjSpace(nofaking=True,
compiler="_stable", # lib/_stablecompiler
translating=True,
- usemodules=['thread'],
+ usemodules=usemodules,
geninterp=geninterp)
# manually imports app_main.py
filename = os.path.join(this_dir, 'app_main.py')
More information about the Pypy-commit
mailing list