-
Notifications
You must be signed in to change notification settings - Fork 518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix yaml construct a slot object #258
Conversation
resolves #232 |
This PR has been open for a week. Can I get a review? @ingydotnet |
ping @perlpunk |
Sorry, I don't know enough python yet, so I don't know about slots. @nitzmahone maybe? |
May I get a review @nitzmahone |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hit this same thing and made the same fix locally. Not sure if anyone will approve if this is full loader is deprecated though.
Thanks! I'll try to look at it this weekend... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, looks good (after I read about what slots are)!
I added #161 to release/5.3 |
released https://pypi.org/project/PyYAML/5.3/ |
Env:
Test code:
Trackback:
The exception was throwed from #L570
pyyaml/lib3/yaml/constructor.py
Lines 558 to 570 in ccc40f3
I think
object
should beinstance
.