Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #38031
| Date | 2013-02-01 08:13 +0100 |
|---|---|
| From | Andreas Röhler <andreas.roehler@online.de> |
| Subject | Re: Python launcher (PEP 397) and emacs python-mode.el |
| References | (1 earlier) <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> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1273.1359702822.2939.python-list@python.org> (permalink) |
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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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