Skip to content

Decorated methods in cdef classes should be ordinary functions #1274

@robertwb

Description

@robertwb

See here for a discussion:

http://comments.gmane.org/gmane.comp.python.cython.devel/12466

Basically, whenever a method in a cdef class has an unknown decorator, it must become a plain function, i.e. its 'self' argument must be untyped.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions