Hacker News new | ask | show | jobs
by borntyping 2502 days ago
The first example (i.e. `yaml.load()` in Python) doesn't work with the current version of PyYAML.

Function application was disabled some time ago, and `yaml.load()` logs a noisy deprecation warning telling users to use `yaml.safe_load()` instead [1].

[1]: https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-...