Author: Manuel Jacob <m...@manueljacob.de>
Branch: py3.6
Changeset: r91952:75d795b23931
Date: 2017-07-21 20:05 +0200
http://bitbucket.org/pypy/pypy/changeset/75d795b23931/

Log:    Add temporary "solution" for failing 'import site'.

diff --git a/lib-python/3/sysconfig.py b/lib-python/3/sysconfig.py
--- a/lib-python/3/sysconfig.py
+++ b/lib-python/3/sysconfig.py
@@ -355,6 +355,8 @@
 
 
 def _get_sysconfigdata_name():
+    # FIXME: temporary hack for PyPy
+    return '_sysconfigdata'
     return os.environ.get('_PYTHON_SYSCONFIGDATA_NAME',
         '_sysconfigdata_{abi}_{platform}_{multiarch}'.format(
         abi=sys.abiflags,
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to