[New-bugs-announce] [issue22308] add {implementation} to sysconfig.py

mattip report at bugs.python.org
Sat Aug 30 20:49:36 CEST 2014


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 <report at bugs.python.org>
<http://bugs.python.org/issue22308>
_______________________________________


More information about the New-bugs-announce mailing list