New submission from mattip:
An issue was reported on PyPy where a user had a
~/.local/lib/python2.7/site-packages directory that contained cpython specific
libraries. We trakced it down to posix_user in sysconfig.py being set to an
implementation-specific cpython path, but used by pypy.
This patch against HEAD adds {implementation} and {implementation_lower}
fields to _CONFIG_VARS, making sysconfig.py compatable with other python
implementations. Perhaps valuable to jython as well, which would require
modifying _get_implementation() accordingly
----------
components: Library (Lib)
files: sysconfig_head.patch
keywords: patch
messages: 226143
nosy: mattip
priority: normal
severity: normal
status: open
title: add {implementation} to sysconfig.py
type: behavior
Added file: http://bugs.python.org/file36507/sysconfig_head.patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue22308>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com