[IronPython] Announcing IronPython 2.7 Beta 1

Michael Foord michael at voidspace.org.uk
Fri Oct 22 16:50:28 CEST 2010


  On 22/10/2010 15:46, Vernon Cole wrote:
> Your issue #2 is not a bug -- or at least it is the same as all other 
> installers.
>

Well, it's *new* as the IronPython installer has never done this before 
- and I would certainly question whether it is desirable for it to be 
the *default* for IronPython.

IronPython doesn't use .pyc files (and not really .pyw either I think) 
so it isn't surprising it doesn't change those. I would really prefer 
that IronPython doesn't seize the association with .py files without 
explicit instruction from the user .

Michael Foord

> Every version of Python which you install will take over as the 
> default "Open" command for .py files -- and will supply it's own icon 
> for them.  When you are trying out a new Python version, you must 
> remember to re-install your chosen default version afterward, if you 
> expect to double-click a .py and get a certain version of Python to 
> start. The same thing happens with Python 3.1 and 2.7 for example.  I  
> use so many different versions that I have given up on the re-install 
> trick. I now use a bunch of .bat files (in a directory on my search 
> path) to pick the version I want.
>
> For example, the file "py23.bat" contains:
> c:\python23\python.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
>
> and "py31.bat" contains:
> c:\python31\python.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
>
> and "ipy.bat" contains:
> "c:\program files\IronPython 2.7\ipy.exe" %1 %2 %3 %4 %5 %6 %7 %8 %9
>
> The file "python.bat" points to my chosen default version for this week.
>
> So to test"myTestScript" under IronPython 2.7, I type:
> ipy myTestScript.py arg1 arg2
>
> The same little c:\utils directory also contains such handy tools as 
> tail.exe, unix2dos.exe, less.exe, and 2to3.bat, which contains:
> c:\python26\python.exe c:\python26\Tools\Scripts\2to3.py  %1 %2 %3 %4 
> %5 %6 %7 %8 %9
>
> You get the picture... Those of us who's brains are stuck in console 
> mode do this sort of thing.
> --
> Vernon
>
> On Fri, Oct 22, 2010 at 6:44 AM, Adal Chiriliuc 
> <adal.chiriliuc at gmail.com <mailto:adal.chiriliuc at gmail.com>> wrote:
>
>     Hi,
>
>     Thanks for making available a new IronPython build. The 2.7 Beta 1
>     installer has a few issues through:
>
>     1. Changing the default installation folder doesn't work: IronPython
>     will be installed in two places: "C:\Program Files (x86)\IronPython
>     2.7" and the installation folder that you specified.
>
>     2. If you have already have CPython installed, IronPython will
>     overwrite the icon for .py files, but not for .pyc and .pyw files.
>     Please don't replace the CPython icons or at least make this an
>     installer option.
>
>     Adal
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


-- 

http://www.voidspace.org.uk/

READ CAREFULLY. By accepting and reading this email you agree,
on behalf of your employer, to release me from all obligations
and waivers arising from any and all NON-NEGOTIATED agreements,
licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap,
confidentiality, non-disclosure, non-compete and acceptable use
policies ("BOGUS AGREEMENTS") that I have entered into with your
employer, its partners, licensors, agents and assigns, in
perpetuity, without prejudice to my ongoing rights and privileges.
You further represent that you have the authority to release me
from any BOGUS AGREEMENTS on behalf of your employer.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20101022/c9030cc3/attachment.html>


More information about the Ironpython-users mailing list