AttributeError on an out-of-order table under an indented header (4+ levels)
メンテナーはふだん 2 日以内に返信
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 862
- フォーク
- 193
- 平均マージ
- 4日 2時間
- マージ済み PR(30日)
- 25
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
python-poetry/tomlkit のほかの issue
-
Speed up array appends対応中かも @harshitgupta31415 が 2 日前に担当しました。 オープン
難易度 4/5 1〜2日 初心者へのやさしさ 42/100
python-poetry/tomlkit#665 ·
メンテナーはふだん 2 日以内に返信
-
Deleting the last key under a dotted key in an inline table produces invalid TOML対応中かも @cig13zs が 2 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
python-poetry/tomlkit#662 ·
メンテナーはふだん 2 日以内に返信
-
Regression: impossible to dump multiline strings with leading newline対応中かも @shivampwm2020 が 4 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
python-poetry/tomlkit#655 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
In-place array repetition changes values without updating serialized TOML対応中かも @harbinresearcher が 5 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
python-poetry/tomlkit#646 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
tomlkit 0.15.1 fails on out-of-order table header再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
python-poetry/tomlkit#632 ·
メンテナーはふだん 2 日以内に返信
python-poetry/tomlkit の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
infrastructure qa
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
khuisman/mcp-gee-sweet#1068 ·
メンテナーはふだん 1 日以内に返信
-
area:ecosystem documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Chelis-Lang/chelis#3866 ·
メンテナーはふだん 1 日以内に返信
-
`lvm_compact` has no self-hosted twin, and `docs/158` §5 says every language-face component mustオープンbug sev-3 vm
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
issue: Picking a prompt from the / menu in a channel inserts a command chip instead of the promptオープンbug confirmed issue
難易度 2/5 半日 初心者へのやさしさ 78/100
open-webui/open-webui#32712 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信