You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2021-10-20.23:01:20.387>created_at=<Date2011-09-09.01:28:03.976>labels= ['type-feature', 'expert-2to3']
title='Shebang line fixer for 2to3'updated_at=<Date2021-10-20.23:01:20.387>user='https://github.com/asmeurer'
Activity
asmeurer commentedon Sep 9, 2011
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.
BreamoreBoy commentedon Jun 25, 2014
"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.