The Norway Problem in Yaml 0 ▲ Senthil Kumaran 102 days ago · Tech · hide · Fediverse post Norway's ISO country code is NO. Under the YAML 1.1 spec, unquoted no (case-insensitive, along with yes, on, off, y, n, true, false) is treated as a boolean and not a string. You can see the problem here. ~ cat test.yaml countries: - NO - SE - NL - IN - US - SG ~ python >>> import yaml >>> with open("test.yaml") as f: ... data = yaml.safe_load(f) ... >>> print(data) {'countries': [False, 'SE', 'NL', 'IN', 'US', 'SG']} This and other things are fixed Kubernetes Flavored Yaml. Which has minimal syntax like, all flow style syntax with {} for objects and [] for arrays. All string values must be double-quoted. Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town