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

Petri Lehtinen report at bugs.python.org
Mon Nov 21 15:20:04 CET 2011


Petri Lehtinen <petri at digip.org> added the comment:

Éric Araujo wrote:
> Patch looks good, but are you 100% sure that sys.executable is
> always absolute? (On all OSes, under multiprocessing, etc?)

Well, its value is computed by a function named
Py_GetProgramFullPath(), so I'm quite sure. I had a quick look on what
the function is doing, but it was quite complicated. I can check it
better if needed.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13402>
_______________________________________


More information about the docs mailing list