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

Can binary wheels be generated for PyPy along side the CPython wheels?

When using indentation this seems to be applied to the value of the list instead of to the list itself, as you can see below `indent=4` is applied after the...

api:improvement

fixes #89 There's an alternative fix, we can remove the `implicit_loader` from `resolver.py` instead of mapping `'tag:yaml.org,2002:value'` to the string resolver.

``` ➜ pyyaml git:(master) ✗ cat load.py import sys import yaml from pprint import PrettyPrinter pp = PrettyPrinter(indent=4) with open(sys.argv[1], "r") as f: yaml_file = yaml.load(f, Loader=yaml.FullLoader) pp.pprint(yaml_file) ``` ```...

It would be great if there were an environment variable to disable using libyaml even if it's detected as available because passing `--without-libyaml` to pip can be non-trivial. Currently, some...

api:improvement

When loading floats, PyYAML 6.0 correctly returns the nearest value for decimal floats, but not for base 60 floats: ```py Python 3.8.10 (tags/v3.8.10:3d8993a, May 3 2021, 11:48:03) [MSC v.1928 64...

As said on related issue #401 This bug only happens on PyYAML and not on ruamel.yaml. On ruamel.yaml they are checking for the existence of event.style attribute, and on PyYAML...

When I pip install PyYAML on a MacOS intel machine I get __yaml.cpython-39-darwin.so_ as "Mach-O 64-bit bundle **x86_64**". When I pip install PyYAML on a MacOS AppleSilicon (arm64) machine I...

Trouble building in 3.11 (gcc 11.2.0 on Linux): ``` $ python setup.py --with-libyaml bdist_wheel running bdist_wheel running build running build_py warning: build_py: byte-compiling is disabled, skipping. running build_ext skipping 'yaml/_yaml.c'...

Systems that do not have pathlib installed will not work with pyyaml. I have added a small piece of code that allows for pyyaml to be installed on systems that...