orderedset icon indicating copy to clipboard operation
orderedset copied to clipboard

Segmentation fault when unioned with a set

Open WillDaSilva opened this issue 3 years ago • 0 comments

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?

WillDaSilva avatar Jun 23 '21 17:06 WillDaSilva