Skip to content

Conversation

@perlpunk
Copy link
Member

Fixes #266

The default loader for yaml.load is yaml.FullLoader, so the default
for the YAMLObject class should also be changed.

@kgutwin
Copy link

kgutwin commented Mar 16, 2019

This is a good short-term fix, but you’ll still have some users confused as to why their use of YAMLObject as shown in the documentation doesn’t work with yaml.safe_load (for example). The documentation should also be updated to explain when it would make sense for users to set the yaml_loader and yaml_dumper variables.

@ingydotnet
Copy link
Member

@perlpunk @kgutwin Please take a look at #279.

@perlpunk
Copy link
Member Author

perlpunk commented Dec 2, 2019

Closing, replaced by #279

@perlpunk perlpunk closed this Dec 2, 2019
@perlpunk perlpunk deleted the perlpunk/yamlobject branch December 2, 2019 22:51
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.

ConstructorError - could not determine a constructor for custom tag (5.1)

4 participants