classification
Title: Shebang line fixer for 2to3
Type: enhancement Stage: test needed
Components: 2to3 (2.x to 3.x conversion tool) Versions: Python 3.4
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Aaron.Meurer, VPeric, barry, benjamin.peterson, ezio.melotti
Priority: normal Keywords:

Created on 2011-09-09 01:28 by Aaron.Meurer, last changed 2019-03-15 23:53 by BreamoreBoy.

Messages (2)
msg143749 - (view) Author: Aaron Meurer (Aaron.Meurer) Date: 2011-09-09 01:28
As suggested in this thread in the Python porting list (http://mail.python.org/pipermail/python-porting/2011-September/000231.html), it would be nice if 2to3 had a fixer that translated shebang lines from 

#! /usr/bin/env python

to

#! /usr/bin/env python3

Also relevant here is the draft PEP 394 (http://www.python.org/dev/peps/pep-0394/), which apparently is likely to be accepted.
msg221576 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-06-25 21:48
"nice to have" isn't much of a requirement in my book.  The Python launcher for Windows http://legacy.python.org/dev/peps/pep-0397/ is also relevant.
History
Date User Action Args
2019-03-15 23:53:08BreamoreBoysetnosy: - BreamoreBoy
2014-06-26 07:48:47serhiy.storchakasetnosy: + benjamin.peterson

type: enhancement
versions: + Python 3.4
2014-06-25 21:48:37BreamoreBoysetnosy: + BreamoreBoy
messages: + msg221576
2011-09-10 07:16:47VPericsetnosy: + VPeric
2011-09-09 19:52:59terry.reedysetstage: test needed
2011-09-09 15:10:05barrysetnosy: + barry
2011-09-09 04:11:22ezio.melottisetnosy: + ezio.melotti
2011-09-09 01:28:03Aaron.Meurercreate