#16137: lazy_list from various input data
-------------------------------------+-------------------------------------
       Reporter:  MatthieuDien       |        Owner:
           Type:  enhancement        |       Status:  new
       Priority:  major              |    Milestone:  sage-6.4
      Component:  misc               |   Resolution:
       Keywords:  LazyPowerSeries,   |    Merged in:
  lazy_list, days57                  |    Reviewers:
        Authors:  Vincent            |  Work issues:
  Delecroix, Matthieu Dien           |       Commit:
Report Upstream:  N/A                |  46503af91c0fb4b28f0b37b83182055734c6f0d9
         Branch:                     |     Stopgaps:
  u/MatthieuDien/lazy_list_from_various_input_data|
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by mantepse):

 Thanks for the update!  `lazy_list_from_iterator` seems fine now.  Could
 you nevertheless say what `normalize_slice` does?

 For `lazy_list_from_function` I now get:

 {{{
 sage: from sage.misc.lazy_list import lazy_list_from_function
 sage: from itertools import count
 sage: f = lazy_list_from_function(lambda a, b: a)
 ---------------------------------------------------------------------------
 AttributeError                            Traceback (most recent call
 last)
 <ipython-input-96-f1659b043f2a> in <module>()
 ----> 1 f = lazy_list_from_function(lambda a, b: a)

 /home/rubey/sage-lazy_list/local/lib/python2.7/site-
 packages/sage/misc/lazy_list.so in
 sage.misc.lazy_list.lazy_list_from_function.__init__
 (build/cythonized/sage/misc/lazy_list.c:6520)()

 AttributeError: 'sage.misc.lazy_list.lazy_list_from_function' object has
 no attribute 'fun'
 }}}

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