#16467: Unhiding in a fully hidden Doubly-Linked List
-------------------------+-------------------------------------------------
   Reporter:             |            Owner:
  foosterhof             |           Status:  new
       Type:  defect     |        Milestone:  sage-6.3
   Priority:  major      |         Keywords:  doubly linked list unhide
  Component:             |  empty
  combinatorics          |          Authors:
  Merged in:             |  Report Upstream:  N/A
  Reviewers:             |           Branch:
Work issues:             |     Dependencies:
     Commit:             |
   Stopgaps:             |
-------------------------+-------------------------------------------------
 An error occurs when in a fully hidden Doubly-Linked List an element is
 unhidden. All elements that come after it will also be unhidden.

 {{{
 l = sage.combinat.misc.DoublyLinkedList(xrange(5))
 l.hide(0)
 l.hide(1)
 l.hide(2)
 l.hide(3)
 l.hide(4)
 print l
 l.unhide(1)
 print l
 l.hide(1)
 print l
 }}}

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