Skip to content

Python classes defining __slots__ should automatically compile to extension classes #995

@robertwb

Description

@robertwb

In pure Python mode, when a Python class with 0-1 known base classes defines a constant __slots__ attribute, it makes sense to compile it into an extension class automatically, and make the defined slots object attributes.

Migrated from http://trac.cython.org/ticket/433

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions