#13778: lazy list
-------------------------------------+--------------------------------------
       Reporter:  vdelecroix         |         Owner:  jason           
           Type:  enhancement        |        Status:  needs_work      
       Priority:  major              |     Milestone:  sage-5.6        
      Component:  misc               |    Resolution:                  
       Keywords:  list, iterator     |   Work issues:                  
Report Upstream:  N/A                |     Reviewers:  Travis Scrimshaw
        Authors:  Vincent Delecroix  |     Merged in:                  
   Dependencies:                     |      Stopgaps:                  
-------------------------------------+--------------------------------------

Comment (by vdelecroix):

 I found a safer way to write `_repr_()` using an auxilliary `_fit()`
 method. I also so add additional doctests into `__getitem__()` at the very
 end.

 I switch using INT_MAX as a limiting value to PY_SSIZE_T_MAX which is
 defined in pyport.h (imported in Python.h). It makes more sense (and on my
 computer its size is larger than INT_MAX).

 Best,
 Vincent

 PS (for pachbot):

 apply trac_13778-lazy_list.patch

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13778#comment:10>
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 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