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/062469.html below:

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

[Python-Dev] towards a stricter definition of sys.executablePhillip J. Eby pje at telecommunity.com
Thu Mar 16 20:29:50 CET 2006
At 07:40 PM 3/16/2006 +0100, Fredrik Lundh wrote:
>Looks like I might have to withdraw my (d) proposal, and, once again, suggest
>that we stick to the "GetProgramFullPath" sense, as implemented, and add a
>new variable for the originally intended but not really implemented "GetInter-
>preterPath" sense...

Note that the stdlib and tools often use the (b) interpretation.  For 
example, the distutils does byte-compilation of files by invoking 
sys.executable.  So these would need to be changed.  (This in fact is why I 
couldn't use exemaker to wrap easy_install on Windows and had to create my 
own wrapper that exec()'s Python rather than linking to it.)

Basically, no matter how this is clarified, some code somewhere is going to 
have to change.

(On the bright side, we could get rid of the distutils hack in 2.5 if 
compile() allowed you to set the optimization level.)

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