This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Shebang line fixer for 2to3
Type: enhancement Stage: resolved
Components: 2to3 (2.x to 3.x conversion tool) Versions: Python 3.4
process
Status: closed Resolution: wont fix
Dependencies: Superseder: Close 2to3 issues and list them here
View: 45544
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 2022-04-11 14:57 by admin. This issue is now closed.

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
2022-04-11 14:57:21adminsetgithub: 57151
2021-10-20 23:01:20iritkatrielsetstatus: open -> closed
superseder: Close 2to3 issues and list them here
resolution: wont fix
stage: test needed -> resolved
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