Open fsaad opened 5 years ago
Maybe we can add an OrderedSet object to compatibility. See https://stackoverflow.com/questions/1653970/does-python-have-an-ordered-set. In Python 3.6 you can build it on top of dict
but for lower versions you have to use OrderedDict.
https://github.com/sympy/sympy/blob/ade4ebc63ecd9d3d08749b296a745c53b40d2743/sympy/logic/boolalg.py#L478-L496
Using
return cls(*argset)
throws errors (stochastically), since placing the arguments in aset
does not guarantee that unpacking the set returns the items in the insertion order.