4 ms·
> In Python, you can avoid this pitfall by using yaml.safe_load instead of yaml.load. It's harder to make this mistake in Python these days. yaml.load(input) h
by jwilk 4y ago
> In Python, you can avoid this pitfall by using yaml.safe_load instead of yaml.load.
It's harder to make this mistake in Python these days. yaml.load(input) has been depreacted since PyYAML 5.1 (https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-Deprecation https://github.com/yaml/pyyaml/wiki/PyYAML-yaml.load(input)-...) and finally stopped working in 6.0.