argparse add_mutually_exclusive_group should accept existing arguments to register conflicts

Aberta
#55,193 17 comentários 2 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
cli

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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']
    

    Linguagem predominante
    Python
    Estrelas
    77.2k
    Forks
    36k
    Merge médio
    1d 9h
    PRs com merge (30d)
    558

    Guia de contribuição

    Abrir o guia de contribuição

    Primeiros passos

    1. Leia a issue inteira e depois o guia de contribuição do projeto.
    2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
    3. Faça um fork do repositório e trabalhe em uma branch.
    4. Abra um pull request que referencie o número da issue.

    Mais de python/cpython

    Todas as issues de python/cpython

    Issues semelhantes

    Mais issues de Python

    Receba novas issues na sua caixa de entrada

    Um resumo curto de issues do GitHub para quem está começando.