Skip to content

_iterator_weight should not sort #27003

@jdemeyer

Description

@jdemeyer

The objects may not be sortable in general.

We remove one sorted() call and simplify the code.

For reference: this code was introduced in #25148 (but changed several times afterwards).

CC: @tscrim

Component: python3

Author: Jeroen Demeyer

Branch/Commit: 3efa9b1

Reviewer: Frédéric Chapoton

Issue created by migration from https://trac.sagemath.org/ticket/27003

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions