Skip to content

convenience methods in __init__.py should modify FullLoader instead of Loader #271

Closed
@dthkao

Description

@dthkao

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions