A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2006-March/062502.html below:

[Python-Dev] towards a stricter definition of sys.executable

[Python-Dev] towards a stricter definition of sys.executable [Python-Dev] towards a stricter definition of sys.executable"Martin v. Löwis" martin at v.loewis.de
Fri Mar 17 09:40:31 CET 2006
Fredrik Lundh wrote:
> I don't think many people embed setup.py scripts, so alternative (e) would pro-
> bably cause the least problems:
> 
>     e) sys.executable contains the full path to the program used to invoke
>     this interpreter instance, or None if this could not be determined.

It seems that you indeed are trying to solve a problem you encountered.
Can you please explain what the problem is?

ISTM that the current definition doesn't really cause problems, despite
potentially being fuzzy. People that start sys.executable typically
*do* get a Python interpreter - in an embedded interpreter, they just
don't want to start a new interpreter, as that couldn't work, anyway.

Regards,
Martin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4