4 ms·
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.lo
by borntyping 7y 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)-Deprecation https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-...