argparser's subparsers.add_parser() should accept an ArgumentParser

Aperta
#61,406 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
cli

Direzione di ricerca

Start at argparse subparsers.add_parser() and read the attached issue17204.py reproduction and patch0.diff. Determine the intended ArgumentParser input behavior from those files, then verify that the existing argparse tests cover the accepted parser form and its resulting subparser behavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

pending stdlib type-feature
BPO 17204
Nosy @cjerdonek
Files
  • issue17204.py
  • patch0.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 = None
    created_at = <Date 2013-02-14.07:01:07.036>
    labels = ['type-feature', 'library']
    title = "argparser's subparsers.add_parser() should accept an ArgumentParser"
    updated_at = <Date 2014-10-10.04:35:04.656>
    user = 'https://github.com/cjerdonek'
    

    bugs.python.org fields:

    activity = <Date 2014-10-10.04:35:04.656>
    actor = 'paul.j3'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2013-02-14.07:01:07.036>
    creator = 'chris.jerdonek'
    dependencies = []
    files = ['29916', '36858']
    hgrepos = []
    issue_num = 17204
    keywords = ['patch']
    message_count = 4.0
    messages = ['182081', '187226', '204372', '228950']
    nosy_count = 4.0
    nosy_names = ['bethard', 'chris.jerdonek', 'paul.j3', 'Micka\xc3\xabl.Falck']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue17204'
    versions = ['Python 3.4']
    

    Lingua principale
    Python
    Stelle
    77.2k
    Fork
    36k
    Merge medio
    1g 9h
    PR unite (30g)
    558

    Guida per i contributori

    Apri la guida per i contributori

    Come iniziare

    1. Leggi tutta la issue e poi la guida ai contributi del progetto.
    2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
    3. Fai un fork del repository e lavora su un branch.
    4. Apri una pull request che faccia riferimento al numero della issue.

    Altre issue di python/cpython

    Tutte le issue di python/cpython

    Issue simili

    Altre issue su Python

    Ricevi le nuove issue nella tua casella

    Un breve riepilogo di issue GitHub adatte ai principianti.