On Saturday, September 20, 2014 4:03:11 AM UTC-7, Volker Braun wrote:
>
> Incidentally, this works after http://trac.sagemath.org/16746 where I 
> refactored our displayhook (and fixed a handful of bugs). Needs review 
> *hint* *hint*
>
> sage: cython("""
> ....: cdef class A: 
> ....:     def __iter__(self): 
> ....:         for i in range(5): yield i 
> ....: """)
> sage: iter(A())
> <generator object at 0x7f0da9366d10>
>

FWIW this also works for me on 6.4beta2 without #16746 applied. That 
doesn't make #16746 any less worthwhile to review, of course. It might mean 
that Vincent's problem is due to something else, though (something that I 
apparently can't reproduce).

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

Reply via email to