uniq(X) is just a shorthand for sorted(set(X)): I don't think that we need a separate function for that. More seriously, the sorting is problematic since arbitrary sets may not be sortable in general, especially in Python 3 or after applying #22029.
Depends on #26933
CC: @tscrim
Component: misc
Author: Jeroen Demeyer
Branch/Commit: b4f67ca
Reviewer: Martin Rubey, Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/27014
uniq(X)is just a shorthand forsorted(set(X)): I don't think that we need a separate function for that. More seriously, the sorting is problematic since arbitrary sets may not be sortable in general, especially in Python 3 or after applying #22029.Depends on #26933
CC: @tscrim
Component: misc
Author: Jeroen Demeyer
Branch/Commit:
b4f67caReviewer: Martin Rubey, Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/27014