[docs] [issue13402] Document absoluteness of sys.executable

Ned Deily report at bugs.python.org
Mon Jul 11 22:39:28 EDT 2016

Ned Deily added the comment:

@blarsen, and there's something strange about your example.  '-m' won't work with a real python executable, presumably you meant '-c'.  And judging from the paths involved, I'm guessing you are using MacPorts on OS X.  With either MacPorts or any other OS X framework build, you wouldn't see results like that with -c.

 ../bin/python3.5 -c 'import sys; print(sys.executable)'
../bin/python2.7 -c 'import sys; print(sys.executable)'

So I'm guessing what's in ../bin/python3.7 and ../bin/python3.5 is something other than the normal python bootstrap binaries.

nosy: +ned.deily

Python tracker <report at bugs.python.org>

More information about the docs mailing list