Author Arfrever
Recipients Arfrever, allan, barry, ncoghlan, r.david.murray
Date 2011-01-05.21:58:25
SpamBayes Score 0.000108159
Marked as misclassified No
Message-id <1294264707.21.0.366627956186.issue10835@psf.upfronthosting.co.za>
In-reply-to
Content
I rather doubt that there will be any problem with Python invoked through a wrapper.
Gentoo's python-wrapper isn't used when target executable (e.g. /usr/bin/python3.1) is directly called.  A side effect of python-wrapper is that sys.executable is the target executable:
$ readlink /usr/bin/python
python-wrapper
$ /usr/bin/python -c 'import sys; print(sys.executable)'
/usr/bin/python3.1
$ /usr/bin/python-wrapper -c 'import sys; print(sys.executable)'
/usr/bin/python3.1
$ sh -c "exec -a '' /usr/bin/python -c 'import sys; print(sys.executable)'"
/usr/bin/python3.1
$ sh -c "exec -a '' /usr/bin/python3.1 -c 'import sys; print(sys.executable)'"
/usr/bin/python

If there is a patch, then I can test it.
History
Date User Action Args
2011-01-05 21:58:27Arfreversetrecipients: + Arfrever, barry, ncoghlan, r.david.murray, allan
2011-01-05 21:58:27Arfreversetmessageid: <1294264707.21.0.366627956186.issue10835@psf.upfronthosting.co.za>
2011-01-05 21:58:25Arfreverlinkissue10835 messages
2011-01-05 21:58:25Arfrevercreate