Add disable_interspersed_args() to argparse.ArgumentParser

Open
#58,174 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
28/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
cli

Research direction

Start by reviewing the attached argparse.disable_interspersed_args.python35.diff and the earlier argparse-disable_interspersed.patch, including their unit tests, then compare them with argparse.ArgumentParser. The change is done when the requested method is implemented, documented, and covered by tests without disrupting existing argument parsing behavior.

Written by the indexing model from the issue text.

Description

3.10 stdlib type-feature
BPO 13966
Nosy @rhettinger, @LA-Toth
PRs
  • python/cpython#30071
  • Files
  • argparse.patch: Adding disable_interspersed_args()
  • argparse-disable_interspersed.patch: Adding disable_interspersed_args() with unit tests
  • argparse.disable_interspersed_args.python35.diff: Documented and tested version of disable_interspersed_args()
  • 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 = None
    created_at = <Date 2012-02-08.07:49:27.591>
    labels = ['type-feature', 'library', '3.10']
    title = 'Add disable_interspersed_args() to argparse.ArgumentParser'
    updated_at = <Date 2021-12-12.10:36:45.938>
    user = 'https://github.com/LA-Toth'
    

    bugs.python.org fields:

    activity = <Date 2021-12-12.10:36:45.938>
    actor = 'python-dev'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2012-02-08.07:49:27.591>
    creator = 'Laszlo.Attila.Toth'
    dependencies = []
    files = ['24449', '24546', '38275']
    hgrepos = []
    issue_num = 13966
    keywords = ['patch']
    message_count = 11.0
    messages = ['152839', '153044', '153087', '153552', '166079', '181164', '185993', '186000', '186046', '216882', '236882']
    nosy_count = 6.0
    nosy_names = ['rhettinger', 'bethard', 'kalt', 'python-dev', 'paul.j3', 'Laszlo.Attila.Toth']
    pr_nums = ['30071']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue13966'
    versions = ['Python 3.10']
    

    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    Contributor guide

    Open the contributing guide

    First steps

    1. Read the whole issue, then the project's contributing guide.
    2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
    3. Fork the repository and make your change on a branch.
    4. Open a pull request that references the issue number.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.