Skip to content

ClassLoader silently fails with old-style class object #19

@mathturtle

Description

@mathturtle

When an object that is not the class object of a new-style class is given to the ClassLoader, it fails silently and returns an empty set of plugins. The fact that the subclasses parameter must be a new style class should be mentioned in the documentation and at least a warning message should be printed when the loader does nothing (and it should probably be an exception raised rather than a warning message when the parameter is of the wrong type).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions