#6677: [with patch, positive review] Sequence doesn't know how to typeset itself
---------------------------+------------------------------------------------
 Reporter:  burcin         |       Owner:  burcin       
     Type:  defect         |      Status:  assigned     
 Priority:  minor          |   Milestone:  sage-4.1.2   
Component:  misc           |    Keywords:               
 Reviewer:  John Palmieri  |      Author:  Burcin Erocal
   Merged:                 |  
---------------------------+------------------------------------------------
Changes (by jhpalmieri):

  * priority:  major => minor
  * reviewer:  => John Palmieri


Comment:

 Okay, I see why this used to work and doesn't anymore: we used to test
 elements when formatting for LaTeX using {{{isinstance(x, list)}}}, and
 sequences returned True for this.  Now we test using {{{type(x)}}} and
 looking it up in a dictionary, and there is no entry for
 "sage.structure.sequence.Sequence".  The patch here solves the problem for
 sequences and includes a doctest.  I have a trivial referee's patch (adds
 'r' to the triple quotes at the beginning of the docstring, since there
 are backslashes in it).

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6677#comment:2>
Sage <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to