kcrisman wrote:


On Monday, June 17, 2013 11:50:04 AM UTC-4, Rolandb wrote:

    Hi, why do I get *Ellipsis* here? Sage 5.9 VB Win64 Roland

    sage: [0.5,1.0,...,6.0]
    [0.500000000000000, 1.00000000000000, Ellipsis, 6.00000000000000]


Compare:

sage: [0.5,1.0,...,6.0]
[0.500000000000000, 1.00000000000000, Ellipsis, 6.00000000000000]
sage: [0.5,1.0,..,6.0]
[0.500000000000000,
  1.00000000000000,
  1.50000000000000,
  2.00000000000000,
  2.50000000000000,
  3.00000000000000,
  3.50000000000000,
  4.00000000000000,
  4.50000000000000,
  5.00000000000000,
  5.50000000000000,
  6.00000000000000]

Especially try preparse() of both; the latter returns a generator, while the former returns a list.


I'm not sure what "suddenly" was meant to say; did the behaviour differ in previous versions of Sage? (It doesn't in Sage 5.8, nor 5.2, say.)


-leif

--
() The ASCII Ribbon Campaign
/\   Help Cure HTML E-Mail

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to