> I fixed and worked around a couple of trivial things. No need to implement
> generator support for a single "yield" statement in the source, for
> example.

I can see that you are enthusiastic about this, but just hear me out and I
won't drag this out.

Unless somebody *really* needs the increased speed right away, I think
this is the wrong way ahead. For instance, yield statements are probably
going to be supported anyway after dev1 (I'll do them myself if noone else
does). It's ok that it is only one of them now, but after the summer I
might (at least want to) use them in a couple of more places.

The reason you are even considering this is that Cython doesn't really use
that many advanced Python features; but then, wouldn't it be better to
make it sit there and remind us about trivial features that we don't
support?

Restricting myself to any current Cython subset of Python will certainly
make my summer a lot less enjoyable. (If anything, it would be very
convenient to move the target Python syntax (of the compiler, not of the
generated C) to 2.5 to get decorators, "a if b else c" and
with-statements, but I won't make a a big deal out of it...)

Dag Sverre

_______________________________________________
Cython-dev mailing list
Cython-dev@codespeak.net
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to