orderedset
orderedset copied to clipboard
Segmentation fault when unioned with a set
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?