Hi Volker, On 2012-11-08, Volker Braun <vbraun.n...@gmail.com> wrote: > But then you'd always have to write a lot of > boilerplate to return an iterator. Its much easier to use yield, but then > you can't return any additional information about finiteness.
No? What's wrong with __len__? Cheers, Simon -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To post to this group, send email to sage-devel@googlegroups.com. To unsubscribe from this group, send email to sage-devel+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en.