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 have a hard time adding something like that to the stdlib if it wasn't used in the core tools themselves. It's acknowledged that you can't get far without *some* external dependencies these days, so it's not critical to have all the batteries in Python, even if it's a pretty common use case.JSON is pretty ubiquitous these days, but I'm not sure even that would be added today given the current state of packaging.This is all just my opinion having monitored a LOT of these discussion over the years.-CHBOn Mon, Mar 13, 2023 at 8:57 AM scott.fields--- via Python-ideas <python-ideas@python.org> wrote: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 supporting YAML, I would think it time for Python to formally adopt this technology in the core foundation.
Is there still a reason why this isn't being pursued as native infrastructure in Python?
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-leave@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/HU755XCIZZBCG6PYCMQQVEUMNUEOHBZQ/
Code of Conduct: http://python.org/psf/codeofconduct/
--_______________________________________________Christopher Barker, PhD (Chris)
Python Language Consulting
- Teaching
- Scientific Software Development
- Desktop GUI and Web Development
- wxPython, numpy, scipy, Cython
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-leave@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/2KSX52MCS75443FICN7QLRZBXNFJSQUD/
Code of Conduct: http://python.org/psf/codeofconduct/