Message270210
It looks like sys.executable is *not* always an absolute path. In Python 2.7:
$ which python2.7
/opt/local/bin/python2.7
$ cd /opt/local/bin
$ ../bin/python2.7 -m 'import sys; print(sys.executable)'
/opt/local/bin/../bin/python2.7
Also in Python 3.5:
$ which python3.5
/opt/local/bin/python3.5
$ cd /opt/local/bin
$ ../bin/python3.5 -m 'import sys; print(sys.executable)'
/opt/local/bin/../bin/python3.5 |
|
Date |
User |
Action |
Args |
2016-07-11 22:06:12 | blarsen | set | recipients:
+ blarsen, ronaldoussoren, pitrou, vstinner, pjenvey, schmir, eric.araujo, dino.viehland, eli.bendersky, flox, docs@python, python-dev, eric.snow, petri.lehtinen |
2016-07-11 22:06:12 | blarsen | set | messageid: <1468274772.28.0.198358413257.issue13402@psf.upfronthosting.co.za> |
2016-07-11 22:06:12 | blarsen | link | issue13402 messages |
2016-07-11 22:06:12 | blarsen | create | |
|