Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New comment] PEP 397 -- Python launcher for Windows
2. [New comment] PEP 397 -- Python launcher for Windows

----------------------------------------------

ISSUES

1. [New comment] PEP 397 -- Python launcher for Windows
http://ironpython.codeplex.com/workitem/35064
User vernondcole has commented on the issue:

"<p>I made a clone of the git version of PLW to look this idea over. It is a 
smallish C++ program and should not be too hard to patch to make 
alternate-implementation friendly.  The problem today is that it is CPython 
specific and searches the Windows registry to determine which versions of 
Python are present.  Alternate implementations are supported only using entries 
in the py.ini file and setting the #! line in your source code approprietly.  
(Which works great.  I even have mine launching perl scripts, just to proove 
that it can.)</p><p>I propose adding two features to PLW.</p><p>1) extend the 
first command-line switch to also pick items from the py.ini file.  I would 
like to type:<br>   py -ipy myprogram.py<br>and have the command associated 
with &quot;ipy&quot; in my py.ini file executed.</p><p>2) PLW should have (in 
py.ini) a [default] section identifying which command in the [commands] section 
should be run in the absence of a command-line switch.</p><p>Alternate 
implementations should then install (or modify) py.ini to support their 
interpreter.</p><p>The extended PLW version ought to be backported to the 
CPython distribution, so that any implementation of Python will work.  I don't 
think that the CPython group would object.</p><p>Note 1:  I have not compared 
to make sure the stand-alone PLW is identical with the Python 3.3 
version.<br>Note 2:  We need to make sure that PLW will work correctly even if 
no CPython versions are present.<br>Note 3:  I fear that I have just 
volunteered to write the patch.  Is someone else out there williing?  It's been 
a very long time since I wrote commercial quality C code.<br> 
</p>"-----------------

2. [New comment] PEP 397 -- Python launcher for Windows
http://ironpython.codeplex.com/workitem/35064
User jdhardy has commented on the issue:

"<p>Sounds good. I remember from the original PLW discussion they want it to 
work for other implementations but weren't sure what would be needed. It sounds 
like you're making that list. :)</p><p>It's probably worth opening bugs on the 
Python tracker describing what needs to change, since it's not IronPython 
specific. If you don't feel comfortable writing the code perhaps someone over 
there can, or at least review the code for you.</p>"
----------------------------------------------



----------------------------------------------
You are receiving this email because you subscribed to notifications on 
CodePlex.

To report a bug, request a feature, or add a comment, visit IronPython Issue 
Tracker. You can unsubscribe or change your issue notification settings on 
CodePlex.com.
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
https://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to