[issue10835] sys.executable default and altinstall

2011-01-05 Thread Allan McRae
New submission from Allan McRae : when sys.executable is run with a modified argv[0] such as: > sh -c "exec -a '' /usr/bin/python2.7 -c 'import sys; print(sys.executable)'" it returns some a hardcoded value. In this case, it returns /usr/bin/python. This

[issue10318] "make altinstall" installs many files with incorrect shebangs

2010-11-04 Thread Allan McRae
New submission from Allan McRae : The following files are incorrectly installed with a "#!/usr/bin/env python" shebang when using "make altinstall": usr/lib/python2.7/base64.py usr/lib/python2.7/bsddb/dbshelve.py usr/lib/python2.7/bsddb/test/test_dbtables.py usr/lib/pyth