Closed Puneeth-n closed 10 months ago
Duplicate of many issues, eg, https://github.com/yaml/pyyaml/issues/613 - by design until PyYAML properly supports YAML 1.2 behavior.
(see also https://github.com/yaml/pyyaml/issues/376#issuecomment-576821252 for a workaround)
Thanks for the info. I changed the loader to baseloader and it did the trick.
on = true off = false
Hi, I am rather facing a weird issue with pyyaml library where a yaml string is not being parsed properly. the
on
key is parsed as booleanTrue
. Any idea what is happening?PyYAML==6.0 also tried the latest 5.x release