Skip to content

PowerSeriesRing should call Ring.__init__ #13412

@simon-king-jena

Description

@simon-king-jena

We have

sage: A.<a,b> = PowerSeriesRing(QQ)
sage: A._is_category_initialized()
False
sage: isinstance(A,Ring)
True

Since Ring.__init__ initialises the category, it seems that the the base class' initialisation is not called. That also prevents us from removing the alias for _Hom_ in sage.rings.ring - see #12876.

CC: @nthiery @nilesjohnson

Component: categories

Keywords: power series

Author: Simon King

Reviewer: Travis Scrimshaw

Merged: sage-5.5.beta1

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions