Ticket #3366 (new enhancement)

Opened 5 years ago

Last modified 4 years ago

improve subs/substitute inheritance

Reported by: malb Owned by: somebody
Priority: minor Milestone: sage-5.10
Component: basic arithmetic Keywords:
Cc: jbmohler Work issues:
Report Upstream: Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description

jbmohler wrote at #1440: """ subs has been overridden in a few different classes and the overridden implementation is not quite as robust as (or duplicates code from) the implementation in the element base class. I think that the base implementation/architecture should be strengthened in ways that make these overrides unneeded. Of course, then the subs/substitute synonym should entirely be handled by the base class making it impossible for the inconsistency of the noted bug. """

Change History

comment:1 Changed 5 years ago by gfurnish

  • Cc jbmohler added

I don't understand the complaint; the entire point of subs is that you can subs override for different for things in different parents (such as calculus). This is vague, can you give some concrete examples of things we can fix?

comment:2 Changed 4 years ago by AlexGhitza

  • Type changed from defect to enhancement

comment:3 Changed 4 years ago by AlexGhitza

  • Summary changed from improve subs/subsitute inheritance to improve subs/substitute inheritance
Note: See TracTickets for help on using tickets.