#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:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/vdelecroix/19619                 |  449488686e52fb15a2a333073eed39403803347f
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by vdelecroix):

 Replying to [comment:20 slabbe]:
 > Why `Words_n` inherits for `Parent` instead of `AbstractLanguage`?

 `AbstractLanguage` is designed to disappear. For the moment it just holds
 the `_alphabet` attributes and some deprecated methods. I am not sure that
 all language should keep this `_alphabet` attribute. That can be changed.
 Do we want that languages implement a method `alphabet` or simply provides
 an alphabet to the constructor of a base class?

 `Words_n` does not care about an attribute `_alphabet` since it is
 initialized with a `FiniteWords` as first argument. It is essentially an
 empty shell.

--
Ticket URL: <http://trac.sagemath.org/ticket/19619#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.

Reply via email to