Upgrading from 2.5 to 2.6

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Tue Oct 14 05:22:38 EDT 2008


En Tue, 14 Oct 2008 02:26:50 -0300, Martin v. Löwis <martin at v.loewis.de>  
escribió:

>> That isn't entirely true. In Windows, python files bound to a
>> particular version of python in the registry. So, for example, if you
>> double click on "some_prog.py" to run it, then it will by default
>> start up using python2.6 once it is installed. Also right-clicking on
>> a file and selecting "edit with Idle" will open the version of Idle
>> associated with 2.6 (under 2.6). This is a minor difference, but I
>> wouldn't say that there are no side effects. They can be easily worked
>> around.
>
> Indeed. Notice that, at installation time, you have the option to chose
> whether the new version should associate itself with the .py extension
> or not. Through APR (add-remove-programs), you can later change that
> also - unselect it in one installation, then select it in the other
> (or run the repair installation if you selected it twice).

I'd say the wording in the installer is unfortunate. The option is labeled  
"Register extensions" and for some time I thought it was related to  
.pyd/.dll files ("C extensions"), not "Associate .py files to this Python  
installation"

-- 
Gabriel Genellina




More information about the Python-list mailing list