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
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to