Skip to content

Fix class in loader.py #12

@cool-RR

Description

@cool-RR

The dynamically defined class in loader.py causes bugs on Python 3 when using multiple sub-loaders, since there are multiple InnerLoader classes defined in the same scope and the latter overrides the formers' names, which causes an exception when calling super.

I suggest fixing it by having a separate function that'll dynamically define the class. (Or the best way would be to find a way to get rid of the dynamically defined class.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions