On Jul 25, 2009, at 10:10 AM, Jason Grout wrote: > Robert Bradshaw wrote: > >> >> This would be possible to support, but it's a rather special case. >> One would also, perhaps want to support things like sum. Even if we >> had generators, it's unclear (but not impossible) how they'd work >> with non-object return types--maybe a next_c method? In the short >> run, it probably wouldn't be that bad of an addition. Aside from any, >> all, and sum, what other builtins would we like to support in this >> manner? > > > I also use enumerate, min, and max a lot. If it's not too hard, > it'd be > great to support these using the above comprehension-like syntax as > well.
Yeah, enumerate has certainly been on the list, and min/max would be useful too. - Robert _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
