diff options
author | Armin Rigo <arigo@tunes.org> | 2017-01-14 16:56:08 +0100 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2017-01-14 16:56:08 +0100 |
commit | e9c0e1d976ccdf7caa95a7a9432ca5868405fca2 (patch) | |
tree | 6a8b82ba4a15c84a248232b78ea935844a3158be | |
parent | hg merge default (diff) | |
download | pypy-e9c0e1d976ccdf7caa95a7a9432ca5868405fca2.tar.gz pypy-e9c0e1d976ccdf7caa95a7a9432ca5868405fca2.tar.bz2 pypy-e9c0e1d976ccdf7caa95a7a9432ca5868405fca2.zip |
Need to force disabled modules to be false, else they may still beRevDB-pypy2.7-v5.6.1
enabled by suggestions (and _vmprof is always suggested)
-rw-r--r-- | pypy/config/pypyoption.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py index 6be027a496..2d3b65b342 100644 --- a/pypy/config/pypyoption.py +++ b/pypy/config/pypyoption.py @@ -296,7 +296,8 @@ def enable_allworkingmodules(config): if config.translation.sandbox: modules = default_modules if config.translation.reverse_debugger: - modules -= reverse_debugger_disable_modules + for mod in reverse_debugger_disable_modules: + setattr(config.objspace.usemodules, mod, False) # ignore names from 'essential_modules', notably 'exceptions', which # may not be present in config.objspace.usemodules at all modules = [name for name in modules if name not in essential_modules] |