Skip to content

[BUG]: annotating argument as list[some_type] raises CompileError #4214

@jbrockmendel

Description

@jbrockmendel

Trying to add pure-py annotation here

-def append(self, others) -> BlockPlacement:
+def append(self, others: list[BlockPlacement]) -> BlockPlacement:

raises

pandas/_libs/internals.pyx:166:57: Compiler crash in IterationTransform

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions