This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients docs@python, eli.bendersky, eric.araujo, eric.snow, flox, petri.lehtinen, pitrou, ronaldoussoren, schmir, vstinner
Date 2011-11-25.20:04:24
SpamBayes Score 9.292739e-07
Marked as misclassified No
Message-id <1322251464.7.0.338952798709.issue13402@psf.upfronthosting.co.za>
In-reply-to
Content
> You could also add a test to test_sys ensuring that sys.executable
> is always executable.

And that sys.executable is absolute?

sys.executable is an empty string if sys.argv[0] has been changed and Python is unable to retrieve the real path to the Python executable. See the issue #7774. The fact that sys.executable can be empty should be documented.
History
Date User Action Args
2011-11-25 20:04:24vstinnersetrecipients: + vstinner, ronaldoussoren, pitrou, schmir, eric.araujo, eli.bendersky, flox, docs@python, eric.snow, petri.lehtinen
2011-11-25 20:04:24vstinnersetmessageid: <1322251464.7.0.338952798709.issue13402@psf.upfronthosting.co.za>
2011-11-25 20:04:24vstinnerlinkissue13402 messages
2011-11-25 20:04:24vstinnercreate