STINNER Victor <victor.stin...@haypocalc.com> added the comment: "Thanks to" my commit r78826 (fixing #3137), site errors are now fatal: Python exits with an error instead of just printing "import site failed; ...". It's the come back of #7774: test_executable_with_cwd of test_subprocess now always fail.
The test fails because of an error raise by the site module: ----- Traceback (most recent call last): File "Lib/site.py", line 542, in <module> main() File "Lib/site.py", line 524, in main known_paths = addusersitepackages(known_paths) File "Lib/site.py", line 257, in addusersitepackages user_site = getusersitepackages() File "Lib/site.py", line 239, in getusersitepackages user_base = getuserbase() # this will also set USER_BASE File "Lib/site.py", line 229, in getuserbase USER_BASE = get_config_var('userbase') File "/home/SHARE/SVN/python-trunk/Lib/sysconfig.py", line 494, in get_config_var return get_config_vars().get(name) File "/home/SHARE/SVN/python-trunk/Lib/sysconfig.py", line 402, in get_config_vars _init_posix(_CONFIG_VARS) File "/home/SHARE/SVN/python-trunk/Lib/sysconfig.py", line 255, in _init_posix raise IOError(msg) IOError: invalid Python installation: unable to open /usr/local/lib/python2.7/config/Makefile (No such file or directory) ----- ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7774> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com