[issue7757] sys.path is incorrect when prefix is ""
Michael Smith
report at bugs.python.org
Mon Jan 25 16:47:52 CET 2010
Michael Smith <msmith at cbnco.com> added the comment:
Yes, that does look related. The fix from Issue1676135 seems to handle --prefix="/" properly, and from what I can tell PREFIX does get set to "/".
There is also code in getpath.c to set sys.prefix to "/" if it's "".
The correct prefix for configure is actually "", not "/", to avoid double-slashes - but neither one seems to work at the moment.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7757>
_______________________________________
More information about the Python-bugs-list
mailing list