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

Add a return value to lib2to3.refactor.refactor_file and refactor_dir #79463

Closed
martindemello mannequin opened this issue Nov 20, 2018 · 1 comment
Closed

Add a return value to lib2to3.refactor.refactor_file and refactor_dir #79463

martindemello mannequin opened this issue Nov 20, 2018 · 1 comment
Labels
3.9 only security fixes topic-2to3 type-feature A feature request or enhancement

Comments

@martindemello
Copy link
Mannequin

martindemello mannequin commented Nov 20, 2018

BPO 35282
Nosy @benjaminp, @zware, @martindemello
PRs
  • bpo-35282: Add a return value to lib2to3.refactor_file and refactor_dir #10618
  • 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:07:11.780>
    created_at = <Date 2018-11-20.19:34:11.109>
    labels = ['type-feature', 'expert-2to3', '3.9']
    title = 'Add a return value to lib2to3.refactor.refactor_file and refactor_dir'
    updated_at = <Date 2021-10-20.23:07:11.779>
    user = 'https://github.com/martindemello'

    bugs.python.org fields:

    activity = <Date 2021-10-20.23:07:11.779>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-10-20.23:07:11.780>
    closer = 'iritkatriel'
    components = ['2to3 (2.x to 3.x conversion tool)']
    creation = <Date 2018-11-20.19:34:11.109>
    creator = 'martindemello'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 35282
    keywords = ['patch']
    message_count = 1.0
    messages = ['330149']
    nosy_count = 3.0
    nosy_names = ['benjamin.peterson', 'zach.ware', 'martindemello']
    pr_nums = ['10618']
    priority = 'normal'
    resolution = 'wont fix'
    stage = 'resolved'
    status = 'closed'
    superseder = '45544'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue35282'
    versions = ['Python 3.9']

    @martindemello
    Copy link
    Mannequin Author

    martindemello mannequin commented Nov 20, 2018

    It would be useful for lib2to3.refactor to return which files were actually changed. Right now that information is logged but not returned.

    @martindemello martindemello mannequin added 3.8 only security fixes topic-2to3 type-feature A feature request or enhancement labels Nov 20, 2018
    @zware zware added 3.9 only security fixes and removed 3.8 only security fixes labels Sep 11, 2019
    @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
    3.9 only security fixes topic-2to3 type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants