Message148356
| 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. |
|