[Python-ideas] Native support of YAML in Python STDLIB

2023-03-13 Thread scott.fields--- via Python-ideas
Though this has been discussed before, the last detailed discussion appears to have been roughly 9 years ago. YAML is a technical standard widely used in various projects and at least two major ones (Ansible and containers). Though PyYAML has become ubiquitous as the primary Python solution to

[Python-ideas] Re: Native support of YAML in Python STDLIB

2023-03-13 Thread Christopher Barker
I think the answer is that yaml is a pretty complex specification -- powerful and flexible, but a bit of a mess :-( This is why toml, rather than yaml, was selected for package metadata specification (pyproject,toml) -- which then resulted in an stdlib toml package. At this point, I think you'd h

[Python-ideas] Re: Native support of YAML in Python STDLIB

2023-03-13 Thread David Mertz, Ph.D.
In a similar vein, I'm guessing that if XML were new today, we'd have zero APIs in the standard library to support it... rather than SIX! On Mon, Mar 13, 2023 at 12:23 PM Christopher Barker wrote: > I think the answer is that yaml is a pretty complex specification -- > powerful and flexible, b

[Python-ideas] Re: Native support of YAML in Python STDLIB

2023-03-13 Thread Wes Turner
YAML-LD, YAML-LD-star, Rapidyml JSON5, // Supports comments - https://pypi.org/project/json5/ cysimdjson has comparative PERFormance tests: - https://pypi.org/project/cysimdjson/ - https://pypi.org/project/pysimdjson/ Rapidyaml - https://pypi.org/project/rapidyaml/ YAML-LD - spec: https://json-