configparser can't parse MySQL style config

Aberta
#65,528 4 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
tooling

Direção de pesquisa

Start with the attached demo.py, which is described as a quick-and-dirty example of the parsing problem, and inspect the configparser implementation and its existing tests. Reproduce the MySQL-style configuration failure, then determine the expected syntax from the issue discussion. Done means configparser can parse the demonstrated configuration without regressing existing formats.

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

Descrição

stdlib type-feature
BPO 21329
Nosy @bitdancer, @ambv, @vadmium
Files
  • demo.py: Quick-n-dirty example
  • 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 2014-04-22.15:27:33.250>
    labels = ['type-feature', 'library']
    title = "configparser can't parse MySQL style config"
    updated_at = <Date 2014-09-28.02:12:09.576>
    user = 'https://bugs.python.org/dveeden'
    

    bugs.python.org fields:

    activity = <Date 2014-09-28.02:12:09.576>
    actor = 'martin.panter'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2014-04-22.15:27:33.250>
    creator = 'dveeden'
    dependencies = []
    files = ['35001']
    hgrepos = []
    issue_num = 21329
    keywords = []
    message_count = 3.0
    messages = ['217012', '218473', '227748']
    nosy_count = 4.0
    nosy_names = ['r.david.murray', 'lukasz.langa', 'martin.panter', 'dveeden']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue21329'
    versions = ['Python 3.5']
    

    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.