Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2to3 should have a way to disable some fixers #47205

Closed
bhy mannequin opened this issue May 24, 2008 · 3 comments
Closed

2to3 should have a way to disable some fixers #47205

bhy mannequin opened this issue May 24, 2008 · 3 comments
Labels
topic-2to3 type-feature A feature request or enhancement

Comments

@bhy
Copy link
Mannequin

bhy mannequin commented May 24, 2008

BPO 2956
Nosy @benjaminp
Files
  • fixer_skip.diff
  • fixer_skip2.diff
  • 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 2008-10-13.21:30:40.714>
    created_at = <Date 2008-05-24.10:28:45.003>
    labels = ['type-feature', 'expert-2to3']
    title = '2to3 should have a way to disable some fixers'
    updated_at = <Date 2008-10-13.21:30:40.704>
    user = 'https://bugs.python.org/bhy'

    bugs.python.org fields:

    activity = <Date 2008-10-13.21:30:40.704>
    actor = 'benjamin.peterson'
    assignee = 'collinwinter'
    closed = True
    closed_date = <Date 2008-10-13.21:30:40.714>
    closer = 'benjamin.peterson'
    components = ['2to3 (2.x to 3.x conversion tool)']
    creation = <Date 2008-05-24.10:28:45.003>
    creator = 'bhy'
    dependencies = []
    files = ['10425', '10426']
    hgrepos = []
    issue_num = 2956
    keywords = ['patch']
    message_count = 3.0
    messages = ['67289', '67292', '74697']
    nosy_count = 4.0
    nosy_names = ['collinwinter', 'benjamin.peterson', 'gpolo', 'bhy']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue2956'
    versions = ['Python 3.0']

    @bhy
    Copy link
    Mannequin Author

    bhy mannequin commented May 24, 2008

    Sometime we need to enable all fixers but one or two, eg. the 'import'
    fixer. So it would be fine if there's a way to do that.

    @bhy bhy mannequin assigned collinwinter May 24, 2008
    @bhy bhy mannequin added topic-2to3 type-feature A feature request or enhancement labels May 24, 2008
    @gpolo
    Copy link
    Mannequin

    gpolo mannequin commented May 24, 2008

    Once I wanted this too. I'm attaching two patches but I prefer the
    former which allows the skipped fixer(s) to be logged.

    @benjaminp
    Copy link
    Contributor

    Done in r66885.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    topic-2to3 type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant