shlex not posix compliant when parsing "foo#bar"

Aberta
#51,860 8 comentários 1 reação 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 the linked lexer_test.py test and inspect the shlex_posix.diff patch to understand the expected handling of "foo#bar". Trace the relevant shlex parsing behavior, then update the regression coverage so it captures POSIX-compliant behavior and verify the shlex tests pass.

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

Descrição

stdlib type-feature
BPO 7611
Nosy @terryjreedy, @merwok, @meadori
Files
  • lexer_test.py: test to show shlex behaviour
  • shlex_posix.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 2009-12-31.08:42:42.098>
    labels = ['type-feature', 'library', '3.9', '3.10']
    title = 'shlex not posix compliant when parsing "foo#bar"'
    updated_at = <Date 2020-11-11.17:08:24.800>
    user = 'https://bugs.python.org/jjdmol2'
    

    bugs.python.org fields:

    activity = <Date 2020-11-11.17:08:24.800>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2009-12-31.08:42:42.098>
    creator = 'jjdmol2'
    dependencies = []
    files = ['15709', '15718']
    hgrepos = []
    issue_num = 7611
    keywords = ['patch']
    message_count = 7.0
    messages = ['97081', '97082', '97125', '112740', '148270', '148292', '148456']
    nosy_count = 6.0
    nosy_names = ['terry.reedy', 'ferringb', 'eric.araujo', 'meador.inge', 'jjdmol2', 'cadf']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue7611'
    versions = ['Python 3.9', 'Python 3.10']
    

    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.