pyyaml icon indicating copy to clipboard operation
pyyaml copied to clipboard

Canonical source repository for PyYAML

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

Greetings! I have previously reported some issues which might be security-related (sent them to the e-mail mentioned in the security policy), but still no reply. The message was sent on...

Isn't `indentless_block_sequence` an error for `indentless_sequence`? Renamed `indentless_block_sequence` to `indentless_sequence`.

Tabs indentation support. Only as reference if you want to support in the future. Don't merge changes to README..md

Hi! I always missed json.tool analog for yamls so here is one. Slightly modified script from stdlib.

Here is an example of valid YAML from the [YAML spec](https://yaml.org/spec/1.2/spec.html) (example 2.11): ```yaml ? [ New York Yankees, Atlanta Braves ] : [ 2001-07-02, 2001-08-12, 2001-08-14 ] ``` However,...

In python 3.11, the serialization of ```yaml.dump(zoneinfo.ZoneInfo("Europe/Paris"))``` is: ``` tz: &id002 !!python/object/apply:None._unpickle - Europe/Paris - 1 ``` However it can't be constructed back into a ZoneInfo object: ``` > yaml.unsafe_load(yaml.dump(zoneinfo.ZoneInfo("Europe/Paris")))...

````python import torch import yaml yaml.dump(torch.float32) ```` produces ````python ValueError: dictionary update sequence element #0 has length 1; 2 is required ```` The issue is that `torch.float32.__reduce_ex__` returns just a...

I am using PyYAML to create a Swagger document, which we will share with customers. When I dump it, there are no blank lines between the top-level items: ```yaml swagger:...

question

The `wheel` package is no longer a dependency of setuptools, so trying to import from it might wipe out the integrated setuptools bdist_wheel command, and will start proceeding a warning...

Since many people complain about the defaulting to folded single quotes when a string has line breaks, I opened this PR for discussion. * #240 It will now output stinggs...