Skip to content

Use yaml.safe_load instead of yaml.load#46

Merged
andrew-d merged 1 commit intoKludex:masterfrom
carlwgeorge:pyyaml6
Apr 20, 2022
Merged

Use yaml.safe_load instead of yaml.load#46
andrew-d merged 1 commit intoKludex:masterfrom
carlwgeorge:pyyaml6

Conversation

@carlwgeorge
Copy link
Copy Markdown
Contributor

yaml.load in PyYAML 6 requires a Loader argument. PyYAML recommends using SafeLoader, which is implied if you call yaml.safe_load instead.

yaml/pyyaml#561
https://msg.pyyaml.org/load

Fixes #41

yaml.load in PyYAML 6 requires a Loader argument.  PyYAML recommends
using SafeLoader, which is implied if you call yaml.safe_load instead.

yaml/pyyaml#561
https://msg.pyyaml.org/load

Fixes Kludex#41
@andrew-d
Copy link
Copy Markdown
Collaborator

Thank you!

@andrew-d andrew-d merged commit 4831a3f into Kludex:master Apr 20, 2022
@carlwgeorge carlwgeorge deleted the pyyaml6 branch April 20, 2022 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incompatible with PyYAML 6

2 participants