[issue15364] sysconfig confused by relative paths

Richard Oudkerk report at bugs.python.org
Tue Jul 17 15:37:20 CEST 2012


Richard Oudkerk <shibturn at gmail.com> added the comment:

Updated patch which clarifies that for an installed python on a posix system, get_config_var('srcdir') == get_path('stdlib').

Eg, if sys.executable == '/usr/local/bin/python3.3' then get_config_var('srcdir') == '/usr/local/lib/python3.3'.

This is a little arbitrary, but seems as sensible a value as any other.  (Or maybe it would be better to have get_config_var('srcdir') == None instead.)

----------
stage: needs patch -> patch review
Added file: http://bugs.python.org/file26417/sysconf.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15364>
_______________________________________


More information about the Python-bugs-list mailing list