<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 22/03/2011 07:21, Mark Hammond wrote:
    <blockquote cite="mid:4D884E08.1020709@skippinet.com.au" type="cite">Hi
      all,
      <br>
      &nbsp; I've made some changes to the draft PEP and checked it into the
      PEP repository as PEP397.&nbsp; The reference implementation is
      currently being tracked at <a class="moz-txt-link-freetext" href="http://bugs.python.org/issue11629">http://bugs.python.org/issue11629</a>.
      <br>
      <br>
    </blockquote>
    <br>
    Hey Mark,<br>
    <br>
    One way of supporting alternative implementations (that may not even
    have a standard install directory) is allowing configuration. e.g.
    config.ini<br>
    <br>
    &nbsp;&nbsp;&nbsp; [paths]<br>
    &nbsp;&nbsp;&nbsp; ironpython = c:\Program Files\IronPython 2.7\ipy.exe<br>
    &nbsp;&nbsp;&nbsp; ironpython2.7 = c:\Program Files\IronPython 2.7\ipy.exe<br>
    &nbsp;&nbsp;&nbsp; jython = c:\Users\foobar\jython2.5\jython.exe<br>
    <br>
    Pythons specified in this way should be recognised in the shebang
    line using any of the formats:<br>
    <br>
    &nbsp;&nbsp;&nbsp; #! ironpython<br>
    &nbsp;&nbsp;&nbsp; #! /usr/bin/ironpython<br>
    &nbsp;&nbsp;&nbsp; #! /usr/bin/env ironpython<br>
    <br>
    This would also permit alternative install locations. (And it would
    be nice if the launcher could use the config file to *automatically*
    do the right thing for the 'w' variants.)<br>
    <br>
    All the best,<br>
    <br>
    Michael<br>
    <br>
    <blockquote cite="mid:4D884E08.1020709@skippinet.com.au" type="cite">Most
      of the changes should not be too controversial, but of note:
      <br>
      <br>
      * I've added lots of discussion about the child-process issue and
      the wording now states, basically, that in-process is not
      feasible, but if we use the win32 Job API we can arrange for the
      child to be killed with the parent on Windows XP and later.&nbsp; The
      reference implementation demonstrates this thanks to an example
      from Curt Hagenlocher.
      <br>
      <br>
      * 64bit and 32bit considerations have been added, along with basic
      information about other distros and implementations.
      <br>
      <br>
      * The somewhat controversial optional first command-line parameter
      which allows you to specify a particular version for interactive
      use has grown an almost-certain-to-be-controversial option to
      specify the bittedness of the Python you wish to start.&nbsp; I've
      added this mainly as it would scratch my personal itch as I tend
      to have 32bit and 64bit implementations of most versions available
      and while this isn't particularly common, I'm going to attempt to
      defend it on the principle of "just don't use it if you don't like
      it" :)&nbsp; Note the reference implementation does not yet implement
      this, nor does it implement the general policy about 32bit vs
      64bit considerations.
      <br>
      <br>
      Please let me know what you think and what objections/comments/etc
      remain.
      <br>
      <br>
      Thanks,
      <br>
      <br>
      Mark
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Python-Dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Python-Dev@python.org">Python-Dev@python.org</a>
<a class="moz-txt-link-freetext" href="http://mail.python.org/mailman/listinfo/python-dev">http://mail.python.org/mailman/listinfo/python-dev</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.uk">http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.uk</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.voidspace.org.uk/">http://www.voidspace.org.uk/</a>

May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
-- the sqlite blessing <a class="moz-txt-link-freetext" href="http://www.sqlite.org/different.html">http://www.sqlite.org/different.html</a>
</pre>
  </body>
</html>