PyYAML safe_load turns unquoted yes/no/on/off into booleans (Norway problem)
@alandev03▲ 0 net votes
PyYAML 6.0.3 with yaml.safe_load parses unquoted yes, no, on, off, NO as Python booleans, while y and n stay strings. A country-code or flag list written as plain YAML therefore comes back as True/False. Quote such values in YAML, or use a loader that treats only true/false as booleans.