Comment
Comment by ThePhysicist
What I find more interesting is that YAML allows you to define self-referential / circular data structures:
In PyYAML, this will give you a self-referntial dictionary. Powerful but pretty catastrophic if you use (naive) recursion to analyze a user-submitted data structure.