Skip to content

Shebang line fixer for 2to3 #57151

Closed
Closed

Description

@asmeurer
mannequin
BPO 12942
Nosy @warsaw, @benjaminp, @ezio-melotti, @asmeurer
Superseder
  • bpo-45544: Close 2to3 issues and list them here
  • 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 = None
    closed_at = <Date 2021-10-20.23:01:20.387>
    created_at = <Date 2011-09-09.01:28:03.976>
    labels = ['type-feature', 'expert-2to3']
    title = 'Shebang line fixer for 2to3'
    updated_at = <Date 2021-10-20.23:01:20.387>
    user = 'https://github.com/asmeurer'

    bugs.python.org fields:

    activity = <Date 2021-10-20.23:01:20.387>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-10-20.23:01:20.387>
    closer = 'iritkatriel'
    components = ['2to3 (2.x to 3.x conversion tool)']
    creation = <Date 2011-09-09.01:28:03.976>
    creator = 'Aaron.Meurer'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 12942
    keywords = []
    message_count = 2.0
    messages = ['143749', '221576']
    nosy_count = 5.0
    nosy_names = ['barry', 'benjamin.peterson', 'ezio.melotti', 'VPeric', 'Aaron.Meurer']
    pr_nums = []
    priority = 'normal'
    resolution = 'wont fix'
    stage = 'resolved'
    status = 'closed'
    superseder = '45544'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue12942'
    versions = ['Python 3.4']

    Activity

    1. asmeurer commented on Sep 9, 2011

      asmeurermannequin
      MannequinAuthor

      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.

    2. BreamoreBoy commented on Jun 25, 2014

      BreamoreBoymannequin
      Mannequin

      "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.

    3. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions