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

Use argparse in the diff script #63174

Closed
serhiy-storchaka opened this issue Sep 8, 2013 · 4 comments
Closed

Use argparse in the diff script #63174

serhiy-storchaka opened this issue Sep 8, 2013 · 4 comments
Labels
type-feature A feature request or enhancement

Comments

@serhiy-storchaka
Copy link
Member

BPO 18974
Nosy @rhettinger, @terryjreedy, @berkerpeksag, @serhiy-storchaka
Files
  • diff_argparse.patch
  • 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 2014-07-15.10:25:21.620>
    created_at = <Date 2013-09-08.15:28:01.377>
    labels = ['type-feature']
    title = 'Use argparse in the diff script'
    updated_at = <Date 2014-07-15.10:25:21.619>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2014-07-15.10:25:21.619>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-07-15.10:25:21.620>
    closer = 'serhiy.storchaka'
    components = ['Demos and Tools']
    creation = <Date 2013-09-08.15:28:01.377>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = ['31669']
    hgrepos = []
    issue_num = 18974
    keywords = ['patch']
    message_count = 4.0
    messages = ['197269', '223093', '223097', '223098']
    nosy_count = 6.0
    nosy_names = ['rhettinger', 'terry.reedy', 'bethard', 'python-dev', 'berker.peksag', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue18974'
    versions = ['Python 3.5']

    @serhiy-storchaka
    Copy link
    Member Author

    Here is a patch which replaces optparse to argparse in the Tools/scripts/diff.py script.

    @serhiy-storchaka serhiy-storchaka added the type-feature A feature request or enhancement label Sep 8, 2013
    @rhettinger
    Copy link
    Contributor

    Approved. Go ahead and apply this.

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Jul 15, 2014

    New changeset 08b3ee523577 by Serhiy Storchaka in branch 'default':
    Issue bpo-18974: Tools/scripts/diff.py now uses argparse instead of optparse.
    http://hg.python.org/cpython/rev/08b3ee523577

    @serhiy-storchaka
    Copy link
    Member Author

    Thanks Raymond.

    @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
    type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants