Skip to content

Remove deprecated PolyBase from np.polynomial.polyutils #15658

@rossbar

Description

@rossbar

np.polynomial.polyutils defines a PolyBase class that, according to the source, was deprecated back in v1.9.0:

class PolyBase:
"""
Base class for all polynomial types.
Deprecated in numpy 1.9.0, use the abstract
ABCPolyBase class instead. Note that the latter
requires a number of virtual functions to be
implemented.
"""
pass

I am wondering if it can be removed from the code base. v1.9 was quite some time ago, though I'm not sure this proposal is in line with whatever the official deprecation policy is. For what it's worth, PolyBase does not appear to be used within the numpy code base anymore, so the question is whether downstream libraries have had sufficient time (and notification) to remove PolyBase from their codebases.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions