#15852: uncouple Sequence from categories
-------------------------------------+-------------------------------------
Reporter: rws | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.3
Component: categories | Resolution:
Keywords: | Merged in:
Authors: Ralf Stephan | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/rws/ticket/15852 | 3d1b07b61f7261c6b1c7881ea000467dd9443a2a
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by rws):
* status: needs_work => needs_review
Old description:
> The `class Sequence` is difficult to place in the categories, as the
> discussion in this ticket shows. Rather, it has its place as programming
> utility, probably in `misc`. Thus, it needs not have a parent nor a
> category, nor mathematical operations like +, ... This ticket will
> deprecate/remove the corresponding methods and move the class into
> `misc`.
>
> Previous description:
>
> The '''category `Sequence`''' is deprecated since 2009 (commit
> `619aa0fa`). If I understand it correctly, the '''class `Sequence`'''
> should instead have a parent from the category `Sets`.
>
> The ticket that will remove category `Sequence` depends on this.
New description:
The `class Sequence` is difficult to place in the categories, as the
discussion in this ticket shows. Rather, it has its place as programming
utility, probably in `misc`. Thus, it needs not have a parent nor a
category, nor mathematical operations like +, ... This ticket will
deprecate/remove the corresponding methods.
Previous description:
The '''category `Sequence`''' is deprecated since 2009 (commit
`619aa0fa`). If I understand it correctly, the '''class `Sequence`'''
should instead have a parent from the category `Sets`.
The ticket that will remove category `Sequence` depends on this.
--
Comment:
It appears that deprecating `category()/parent()` will pop up warnings in
unexpected doctests all over the place, example:
{{{
File "src/sage/categories/semigroups.py", line 169, in
sage.categories.semigroups.Semigroups.ParentMethods.cayley_graph
Failed example:
G.show3d(color_by_label=True, edge_size=0.01, edge_size2=0.02,
vertex_size=0.03)
Expected nothing
Got:
doctest:757: DeprecationWarning: You possibly can call universe()
instead
See http://trac.sagemath.org/15852 for details.
}}}
Removing both functions silences them. So, unless I'm missing something,
removal without deprecation is the only option here.
--
Ticket URL: <http://trac.sagemath.org/ticket/15852#comment:22>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.