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:
Changes by Phil Connell pconn...@gmail.com:
--
nosy: +pconnell
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7757
___
___
Python-bugs-list mailing
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: -BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7757
___
___
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
Changes by Martin Matusiak numero...@gmail.com:
--
nosy: +numerodix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7757
___
___
Python-bugs-list
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
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
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
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
___