Skip to content

Make sage.misc.superseded independent of sage.rings.integer_ring #15757

@nthiery

Description

@nthiery

This ticket removes the dependency of sage.misc.superseded upon
sage.rings.integer_ring.is_IntegerRing which was used for type
checking. This allows for using the functions in this module in code
that is imported early upon Sage startup, in particular in category
code.

By the way, this removes an unneeded test (the ticket number cannot be None).

Component: misc

Author: Nicolas M. Thiéry

Branch/Commit: u/jdemeyer/ticket/15757 @ 8656817

Reviewer: Nathann Cohen, Jeroen Demeyer

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions