Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #38031

Re: Python launcher (PEP 397) and emacs python-mode.el

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <andreas.roehler@online.de>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'url:launchpad': 0.05; 'subject:PEP': 0.07; 'python': 0.09; 'logic': 0.09; 'received:212.227.126': 0.09; 'cc:addr:python- list': 0.10; 'subject:python': 0.11; 'skip:# 20': 0.13; '(which,': 0.16; 'received:212.227.126.171': 0.16; 'duplicate': 0.17; 'windows': 0.19; 'appropriate': 0.20; 'subject:) ': 0.20; 'meant': 0.21; '3.2': 0.22; 'runs': 0.22; 'this:': 0.23; 'cc:no real name:2**0': 0.24; 'url:bugs': 0.24; 'cc:2**1': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header :User-Agent:1': 0.26; 'run': 0.28; 'writes:': 0.29; 'saves': 0.30; 'code': 0.31; 'should': 0.36; 'subject: (': 0.36; 'uses': 0.37; 'subject:: ': 0.38; 'subject:-': 0.40; 'thomas': 0.62; 'to:addr:yahoo.co.uk': 0.84
Date Fri, 01 Feb 2013 08:13:14 +0100
From Andreas Röhler <andreas.roehler@online.de>
User-Agent Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130105 Thunderbird/17.0.2
MIME-Version 1.0
To Vinay Sajip <vinay_sajip@yahoo.co.uk>
Subject Re: Python launcher (PEP 397) and emacs python-mode.el
References <amuqb5FueeU1@mid.individual.net> <mailman.1246.1359630370.2939.python-list@python.org> <amvkqcF71apU1@mid.individual.net> <mailman.1253.1359656827.2939.python-list@python.org> <an03u3Fal86U1@mid.individual.net> <loom.20130201T005605-854@post.gmane.org>
In-Reply-To <loom.20130201T005605-854@post.gmane.org>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Provags-ID V02:K0:oSZ1gCQUp2WGKrLwom3C1xDvZhr+AOMm7l8fgbn1KSC NyQFA30phcQWAHP+p8QVpW92bXrUz0RK4w8V73v94EZ+XtFC1d owrwxjAmbqpamp4melGIXCtfWT++pYy7SNE0hkfPb6CHEOPkop 69hS/s+Guy0mB/JB5pfoXtaURmRV7nMEnMspyRhsV/OdpG7o4M zvYt/MnaS5pU6n4ZaLTOQsH3O+WglvodLUsT5OXqxLIYtf54pN zd0tk/NArkTUSzrri4zw703jrc5D9rq7Cg6QR5Enr0q8Ex+tLD IOhFfIe1CcMg2+yrs8SD4Yk/GFmAX+MsRrMM3X8JNh6hxkpPiN /udPVijBUHsf542EwRWw=
Cc Thomas Heller <theller@ctypes.org>, python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1273.1359702822.2939.python-list@python.org> (permalink)
Lines 30
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1359702822 news.xs4all.nl 6868 [2001:888:2000:d::a6]:60750
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:38031

Show key headers only | View raw


Am 01.02.2013 00:59, schrieb Vinay Sajip:
> Thomas Heller <theller <at> ctypes.org> writes:
>
>> What I meant to write is this:
>>
>> when the shebang line in script.py contains this:
>>     #!/usr/bin/python3.1-32
>> then emacs SHOULD run
>>     py.exe -3.1-32 script.py
>> and the launcher runs
>>     c:\Python31\python.exe script.py
>
> IMO it would be better for emacs to just run
>
> py.exe script.py
>
> and py.exe can read the shebang and do the right thing. This saves the emacs code
> from having to duplicate the shebang line processing logic that py.exe uses
> (which, as we know, is unusual. So for a cross-platform you can have a shebang
> line of #!/usr/bin/python3.2, and on Windows it will still call the appropriate
> Python 3.2 even if it's not in /usr/bin, as there's no /usr/bin :-))
>
> Regards,
>
> Vinay Sajip
>
>
>

https://bugs.launchpad.net/python-mode/+bug/1112207

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python launcher (PEP 397) and emacs python-mode.el Thomas Heller <theller@ctypes.org> - 2013-01-31 10:03 +0100
  Re: Python launcher (PEP 397) and emacs python-mode.el Andreas Röhler <andreas.roehler@online.de> - 2013-01-31 12:05 +0100
    Re: Python launcher (PEP 397) and emacs python-mode.el Thomas Heller <theller@ctypes.org> - 2013-01-31 17:35 +0100
      Re: Python launcher (PEP 397) and emacs python-mode.el Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2013-01-31 18:26 +0000
        Re: Python launcher (PEP 397) and emacs python-mode.el Thomas Heller <theller@ctypes.org> - 2013-01-31 21:53 +0100
          Re: Python launcher (PEP 397) and emacs python-mode.el Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2013-01-31 23:59 +0000
          Re: Python launcher (PEP 397) and emacs python-mode.el Andreas Röhler <andreas.roehler@online.de> - 2013-02-01 08:13 +0100
      Re: Python launcher (PEP 397) and emacs python-mode.el Andreas Röhler <andreas.roehler@online.de> - 2013-01-31 19:40 +0100

csiph-web