pyyaml
pyyaml copied to clipboard
Canonical source repository for PyYAML
In YAML 1.1 and 1.2, anchors can be reused. https://yaml.org/spec/1.2/spec.html#id2786196 https://yaml.org/spec/1.1/#id863390 See also https://github.com/yaml/pyyaml/issues/100 and https://github.com/yaml/pyyaml/issues/334 This allows: ``` - &anchor A - *anchor - &anchor B - *anchor #...
Depends on #561
This module implements an additional C based backend based on libfyaml. For the initial drop the goal is to have something as similar as possible to the libyaml backend, where...
I have just observed the following behavior, which I think is wrong or at least quite unexpected: ```python In [1]: import yaml In [2]: yaml.dump("ä", encoding=None) Out[2]: '"\\xE4"\n' In [3]:...
It would b great for further processing and giving user-friendly feedback about semantic errors if there was a way to store metadata about loaded objects. This metadata could include: -...
Would you consider shipping a musllinux wheel? This is possible since [PEP 656](https://www.python.org/dev/peps/pep-0656/) Not like the package is all that large, but it would still be nice to have the...
Like in https://github.com/yaml/pyyaml.org/pull/16
I have found a RecursionError crash while running the safe_load function (on both 5.3 and 6.0 version) with the input: ``` b'{!![ \r{! \r{!![ \r{! \r{![ \r{ \r{!![ \r{{!![ \r{!...
fixes #601 * Cython 3.0 changes its build_ext command base class to one that's incompatible with pyyaml's subclass * temporarily force use of Cython3's `old_build_ext` compatibility class if present
I wonder is there build-in style can generate yaml files which can satisfy the yamllint check? The problem is yamllint expect extra indent when a map value is a list:...