Re: YIELD_VALUE Byte Code

2009-11-17 Thread greg
Andreas Löscher wrote: Since Python Version 2.5 it behaves the following: 1. pop yield value from stack and return it to a former gen_send_ex() call from Objects/genobject.c 2. push the yield value on the stack in gen_send_ex() and return Are you sure about that

Re: YIELD_VALUE Byte Code

2009-11-17 Thread Terry Reedy
Andreas Löscher wrote: Hi, I am not sure if this is the right newsgroup, so if not don't hesitate to tell me. Since there is no CPython internals list, this is the right place to start, even though you might end up having to post a slightly off-topic query to python-devel just to get the atte