Skip to content

Don't generate trivial __new__ #1555

@serhiy-storchaka

Description

@serhiy-storchaka

Cython generates the __new__ method even for classes without data. Recent change in CPython broke multiple inheritance from Cython classes. That change was reverted for backward compatibility, but if Cython would not generate trivial __new__ for empty classes, it would help to push that change back.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions