Hi Are closures permanently broken in sage-4.8's cython, or was it a passing fashion? When I use something like this in a pyx file:
cpdef test(): a = [1,2,3,4] if any(b < 0 for b in a): print "yes" else: print "no" return I get this error: _Users_user_common_Research_SAGE_programs_gb_detection_dynamic_algorithm_coin_copy_bug_pyx_0.pyx: 90:8: closures inside cdef functions not yet supported alpha0 doesn't give me this problem. I haven't tried others. regards john perry -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org