Skip to content

Segmentation fault when unioned with a set #30

@WillDaSilva

Description

@WillDaSilva

Installed orderedset 2.0.3 from pip with Cython 3.0a7

Running on Linux Mint

Python version 3.9.5

>>> s = OrderedSet([1, 2, 3])
>>> s | {4, 5, 6} # this works fine
OrderedSet([1, 2, 3, 4, 5, 6])
>>> {4, 5, 6} | s # causes a segfault
Segmentation fault (core dumped)

Maybe this has to do with the changes in Cython 3.0 around arithmetic methods?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions