#19619: Simplify words.py
-------------------------------------+-------------------------------------
Reporter: vdelecroix | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-6.10
Component: combinatorics | Resolution:
Keywords: | Merged in:
Authors: Vincent Delecroix | Reviewers: Sébastien Labbé
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/vdelecroix/19619 | f8e4ca55cb76eb29c67d656270f9ce5f6c95b0a0
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Changes (by vdelecroix):
* status: needs_work => needs_review
Comment:
Replying to [comment:32 slabbe]:
> - Are sure that we do not prefer the `__call__` to be implemented in
one place in `AbstractLanguage`? Lot of documentation is a copy paste...
Definitely not. We do not want to impose the class of elements for
(future) languages. Moreover:
- you should not be able to build infinite words from `FiniteWords` or
finite ones from `InfiniteWords`.
- the code is now much simpler, isn't it?
To my mind, the documentation is completely useless. Which user will do
{{{
sage: W = Words('ab')
sage: W.__call__?
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/19619#comment:34>
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.