Skip to content

Inserting a callable without the __name__ attribute in crashes the metaclass. #2113

@jjotero

Description

@jjotero

See #2112 for the reproducer.

This can be just fixed by replacing that v.__name__ for a getattr(v, '__name__', None) when checking if the callable is a final method.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions