[issue7757] sys.path is incorrect when prefix is ""

Sunny K report at bugs.python.org
Tue Oct 22 09:37:50 CEST 2013


Sunny K added the comment:

I took a shot at this. Build is successful and imports happen. Tests are ok except test_sysconfig, and that is because of sys.prefix being set to '/'. I've raised issue19340 for that.

About the patch, i'm not sure how to completely test for false positives(joinpath now returns <SEP><suffix> if <prefix> is null). I could not think of any issues from the current calls to joinpath.

----------
keywords: +patch
nosy: +sunfinite
Added file: http://bugs.python.org/file32293/getpath.patch

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


More information about the Python-bugs-list mailing list