Learn more about these different git repos.
Other Git URLs
While experimenting, I think I discovered that the __init__ methods of the YAMLObject classes are not called at all. They are somehow side-stepped by the yaml library.
__init__
We should verify that this is true, and if it is, then delete those methods. It is only confusing to have them there if they are ignored.
Right, internally, the yaml.YAMLObject will call __new__ instead of __init__ and set the fields by using instance.__dict__. The example in the documentation[1] is misleading and it should be safe to remove them.
__new__
instance.__dict__
[1] http://pyyaml.org/wiki/PyYAMLDocumentation#Constructorsrepresentersresolvers
Fixed by #81.
Metadata Update from @ralph: - Issue status updated to: Closed (was: Open)
Metadata Update from @dcallagh: - Issue assigned to ralph - Issue close_status updated to: Fixed - Issue set to the milestone: 0.2
Login to comment on this ticket.