Python launcher (PEP 397) and emacs python-mode.el
Andreas Röhler
andreas.roehler at online.de
Fri Feb 1 02:13:14 EST 2013
More information about the Python-list mailing list
Fri Feb 1 02:13:14 EST 2013
- Previous message (by thread): Help the visibility of Python in computational science
- Next message (by thread): Cheat Engine In Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): Help the visibility of Python in computational science
- Next message (by thread): Cheat Engine In Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list