AttributeError on an out-of-order table under an indented header (4+ levels)
Los mantenedores suelen responder en 2 días
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 18/100
Línea de trabajo
Reproduce with tomlkit.parse(" [a.b.c.d]\n[a.b.c]") and compare with tomllib.loads on the same input. The error comes from OutOfOrderTableProxy lacking a trivia attribute, so start with how the parser handles out-of-order table proxies for indented headers. Done means both the table and array-of-tables inputs parse like tomllib, and the 3-level case from #263 still passes. Pull request #663 is already open against this issue, so check it before starting.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
tomlkit.parse(" [a.b.c.d]\n[a.b.c]") raises ParseError: 'OutOfOrderTableProxy' object has no attribute 'trivia' at line 2 col 0.
tomllib.loads on the same input returns {'a': {'b': {'c': {'d': {}}}}}, and tomlkit accepts it without the leading space.
Same with " [[a.b.c.d]]\n[a.b.c]". This is #263 one level deeper; the 3-level case from #263 works on master.
- Lenguaje dominante
- Python
- Estrellas
- 862
- Forks
- 193
- Merge medio
- 4 d 2 h
- PR fusionados (30 d)
- 25
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de python-poetry/tomlkit
-
Speed up array appendsPosiblemente ocupada @harshitgupta31415 la tomó hace 1 día. Abierto
Dificultad 4/5 1-2 días Aptitud para principiantes 42/100
python-poetry/tomlkit#665 ·
Los mantenedores suelen responder en 2 días
-
Deleting the last key under a dotted key in an inline table produces invalid TOMLPosiblemente ocupada @cig13zs la tomó hace 1 día. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 62/100
python-poetry/tomlkit#662 ·
Los mantenedores suelen responder en 2 días
-
Regression: impossible to dump multiline strings with leading newlinePosiblemente ocupada @shivampwm2020 la tomó hace 3 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
python-poetry/tomlkit#655 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
In-place array repetition changes values without updating serialized TOMLPosiblemente ocupada @harbinresearcher la tomó hace 5 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
python-poetry/tomlkit#646 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
tomlkit 0.15.1 fails on out-of-order table headerQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
python-poetry/tomlkit#632 ·
Los mantenedores suelen responder en 2 días
Todos los issues de python-poetry/tomlkit
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
omegaup/omegaup#10353 · 1 comentario ·
Los mantenedores suelen responder en 5 días
-
bot-triaged module: LrScheduler module: optimizer triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
documentation glm5 llm-model
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
vllm-project/vllm-ascend#19062 ·
Los mantenedores suelen responder en 1 día
-
Author Page: shuai-zhao-llmAbiertoauthor-page correction
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
acl-org/acl-anthology#10496 · 1 comentario ·
Los mantenedores suelen responder en 1 día