pyyaml icon indicating copy to clipboard operation
pyyaml copied to clipboard

Canonical source repository for PyYAML

Results 184 pyyaml issues
Sort by recently updated
recently updated
newest added

> [We do not permit trailing spaces for block scalars.](https://github.com/yaml/pyyaml/blob/298e07907ae526594069f6fdf31f2f1278cc1ae3/lib3/yaml/emitter.py#L750) Block style (`|`, `

When using an updated version of `pyyaml` (version 6.0) on Google Colab, there is an import problem in some of Google Colab python packages, like `plotly.express`: ``` --------------------------------------------------------------------------- TypeError Traceback...

question

I maintain https://github.com/kislyuk/yq, and as seen in https://github.com/kislyuk/yq/pull/10, the lack of YAML 1.2 support in this library is a hindrance to parsing YAML in a consistent "least surprise" manner. Recognizing...

I would like to be able to parse the follow yaml file, A.yml, that include B.yml: A.yml ```yaml --- all: children: GROUP1:

According to the documentation (both at [pyyaml.org](https://pyyaml.org/wiki/PyYAMLDocumentation) as well as `help(yaml)`) the default value of `default_flow_style` is `None`. But I get different output if I explicitly specify it: ``` >>>...

Supersedes #512 This is a draft and subject to discussion. See also https://github.com/yaml/pyyaml/issues/486 _(For #512: Thanks to @SUSE for another hackweek! I had four days of work time dedicated to...

Use case: I want to load a yaml file, inject something in a mapping in a well-known place and dump back to the file. I want to do this with...

Running this code: ```python import yaml print(yaml.load("=")) ``` Gives this error: ` yaml.constructor.ConstructorError: could not determine a constructor for the tag 'tag:yaml.org,2002:value' in "", line 1, column 1: = ^...

The following setup triggers a crash on deserialize: ```python [+] In [23]: class A: ...: def __init__(self, a): ...: self.a = a ...: ...: def __hash__(self): ...: return hash(self.a) ...:...

Maps (sets and dictionaries in Python) need deep construction to support non-scalar keys.