Skip to content

Deprecate sage.misc.misc.uniq #27014

@jdemeyer

Description

@jdemeyer

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions