#15480: Words.__eq__ returns wrong answers
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  ncohen                 |       Status:  needs_review
           Type:         |    Milestone:  sage-5.13
  defect                 |   Resolution:
       Priority:  major  |    Merged in:
      Component:         |    Reviewers:
  combinatorics          |  Work issues:
       Keywords:         |       Commit:
        Authors:         |  ad1cb6306d1dd48b2aa91c92ca00bf10fe1430b2
  Nathann Cohen          |     Stopgaps:
Report Upstream:  N/A    |
         Branch:         |
  u/ncohen/15480         |
   Dependencies:         |
-------------------------+-------------------------------------------------

Comment (by ncohen):

 Yooooooo !

 Well, I can't put into Sage any code that breaks doctests, and I know
 absolutely nothing of what WordPaths is meant to do so I cannot really
 rewrite it `O_o`

 The word.py file could very well do with a complete rewrite, to be honest.
 These class inheritances are hell to work with. Or perhaps we would just
 need to create additional classes, so that classes exposed to the user
 can't be Words_all or anything similar. My problem is that there is no
 class for infinite words which will not ALSO be inherited by classes of
 finite words. So it's pretty hard to write infinite-specific code.
 This could be solved by only returning to the user new classes that also
 inherits from Words_all even when the user wants infinite words (which are
 handled by Words_all right now). This way we would have a way to know what
 each class deals with.

 Learning git takes a bit of time, though you can easily master it with a
 week-end's afternoon or something like that. It's funny, and new but not
 so complicated after all. And you can ask around if you have questions
 `:-)`

 Aaaaaaand everything should be documented on #14481 as this will be the
 future dev documentation !

 Nathann

--
Ticket URL: <http://trac.sagemath.org/ticket/15480#comment:8>
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/groups/opt_out.

Reply via email to