post: py-yaml12 (In Defense of YAML) Post#241
Draft
rich-iannone wants to merge 2 commits into
Draft
Conversation
Publishing checklist
|
✅ Deploy Preview for posit-open-source canceled.
|
Blog YAML Checks
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the "In Defense of YAML" blog post at
content/blog/yaml-defense/. The post covers thepy-yaml12package, a new Rust-backed Python library for working with the YAML 1.2 specification.The post traces the history of configuration formats from INI through XML and JSON to YAML and TOML, examines the legitimate criticisms of YAML 1.1 (the Norway problem, implicit typing, the boolean mess), explains what YAML 1.2 fixed, surveys the current Python parser landscape, and introduces
py-yaml12as a strict YAML 1.2 parser built on Rust. It includes code examples demonstrating the library's behavior. Reading time? Roughly 12 minutes.Test plan
/blog/with the correct title, thumbnail, and descriptionsoftware: py-yaml12tag in frontmatter resolves to the correct software pagevalidate-blog-posts.pyCI check passes