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

_______________________________________________
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