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

2021-10-20 Thread Christian Heimes
Christian Heimes added the comment: This is a very old bug report. Python has changed a lot in the past decade. Please reopen the bug if you still can reproduce the issue with Python 3.9 or newer. -- nosy: +christian.heimes resolution: -> out of date stage: -> resolved status:

[issue7757] sys.path is incorrect when prefix is

2014-04-23 Thread Phil Connell
Changes by Phil Connell pconn...@gmail.com: -- nosy: +pconnell ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7757 ___ ___ Python-bugs-list mailing

[issue7757] sys.path is incorrect when prefix is

2014-02-03 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: -BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7757 ___ ___

[issue7757] sys.path is incorrect when prefix is

2013-10-22 Thread Sunny K
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

[issue7757] sys.path is incorrect when prefix is

2013-10-20 Thread Martin Matusiak
Changes by Martin Matusiak numero...@gmail.com: -- nosy: +numerodix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7757 ___ ___ Python-bugs-list

[issue7757] sys.path is incorrect when prefix is

2013-05-25 Thread Mark Lawrence
Mark Lawrence added the comment: There's so much detail provided that I think this should be easy for someone who understands C code. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7757

[issue7757] sys.path is incorrect when prefix is

2010-01-25 Thread Michael Smith
Michael Smith msm...@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

[issue7757] sys.path is incorrect when prefix is

2010-01-22 Thread Michael Smith
New submission from Michael Smith msm...@cbnco.com: I've built Python 2.6.2 with a prefix of for an embedded system, so it's installed into /bin/python, /lib/python2.6/, etc. If I run a script with python /tmp/script.py or by putting in a #!/bin/python and executing it directly, sys.path is

[issue7757] sys.path is incorrect when prefix is

2010-01-22 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I thought I remembered a bug that mentioned prefix=/. What I found was Issue1676135, which might have something to do with your last question. -- nosy: +r.david.murray priority: - normal ___