Closed
Description
For example add_constructor()
in 5.1 is a no-op for legacy code since it adds the constructor to Loader but FullLoader is the one used in load(input).
https://github.com/yaml/pyyaml/blob/master/lib3/yaml/__init__.py#L329-L344