argparse add_mutually_exclusive_group should accept existing arguments to register conflicts

Offen
#55,193 17 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
cli

Rechercherichtung

Start with argparse's add_mutually_exclusive_group entry point; the issue does not identify a source or test path. Review the linked args_in_multiple_mutually_exclusive_groups.patch, multigroup_1.patch, and multigroup_4.patch, then determine whether the intended behavior is that existing arguments can be passed in and their conflicts are registered, with tests covering that behavior.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

stdlib type-feature
BPO 10984
Files
  • args_in_multiple_mutually_exclusive_groups.patch: Allow arguments to be passed into add_mutually_exclusive_group
  • multigroup_1.patch
  • multigroup_4.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 = None
    created_at = <Date 2011-01-22.23:01:55.200>
    labels = ['type-feature', 'library']
    title = 'argparse add_mutually_exclusive_group should accept existing arguments to register conflicts'
    updated_at = <Date 2014-06-03.05:44:01.029>
    user = 'https://bugs.python.org/gotgenes'
    

    bugs.python.org fields:

    activity = <Date 2014-06-03.05:44:01.029>
    actor = 'paul.j3'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2011-01-22.23:01:55.200>
    creator = 'gotgenes'
    dependencies = []
    files = ['30818', '30921', '30940']
    hgrepos = []
    issue_num = 10984
    keywords = ['patch']
    message_count = 13.0
    messages = ['126862', '126879', '192444', '192765', '192844', '192954', '193071', '193184', '196771', '197960', '212458', '212482', '219660']
    nosy_count = 5.0
    nosy_names = ['bethard', 'gotgenes', 'micktwomey', 'paul.j3', 'jamadagni']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue10984'
    versions = ['Python 3.3']
    

    Vorherrschende Sprache
    Python
    Sterne
    77.2k
    Forks
    36k
    Ø Merge
    1 T. 9 Std.
    Gemergte PRs (30 T.)
    558

    Beitragsleitfaden

    Beitragsleitfaden öffnen

    Erste Schritte

    1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
    2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
    3. Forken Sie das Repository und arbeiten Sie in einem Branch.
    4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

    Mehr aus python/cpython

    Alle Issues in python/cpython

    Ähnliche Issues

    Weitere Issues zu Python

    Neue Issues direkt in Ihr Postfach

    Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.