Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r65074:a7e480ec1a78
Date: 2013-06-28 20:06 +0200
http://bitbucket.org/pypy/pypy/changeset/a7e480ec1a78/

Log:    Attempt a large change, for now just by commenting out one line:
        disable the "validator" logic that deselects modules "silently" if
        they cannot be imported. Now if a module is enabled by default, but
        importing it raises (typically because the .h files are not around),
        then the exception is propagated to the user rather than just giving
        an easily-missed message.

diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py
--- a/pypy/config/pypyoption.py
+++ b/pypy/config/pypyoption.py
@@ -144,7 +144,7 @@
                    requires=module_dependencies.get(modname, []),
                    suggests=module_suggests.get(modname, []),
                    negation=modname not in essential_modules,
-                   validator=get_module_validator(modname))
+                   ) #validator=get_module_validator(modname))
         for modname in all_modules]),
 
     BoolOption("allworkingmodules", "use as many working modules as possible",
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to