[Python-Dev] Re: Stability and change

Tim Peters tim.one@comcast.net
Sat, 06 Apr 2002 23:49:26 -0500

> ...
> (Hm, would it be totally outrageous to let Python itself on Windows
> check for a #! line, and when there is one that names an existing
> Python interpreter that's not the current one, simply exec that one on
> top of the current one???)

No, but how to name an existing interpreter is a problem:  people don't
install Python in the same locations, so an absolute path wouldn't be
portable.  At least for the PythonLabs and ActiveState distros, we could use
the version number to look up the installation path in the Windows registry
(the PLabs and AS installers create registry entries to record this info,
under a key path with major.minor in its name, although the PLabs distro has
never *used* this info; I believe the PythonWare distro doesn't set any info
in the registry).