27 Apr
2005
27 Apr
'05
5:32 p.m.
Phillip J. Eby wrote:
This interest is unrelated to anonymous blocks in any case; it's about being able to simulate lightweight pseudo-threads ala Stackless, for use with Twisted. I can do this now of course, but "yield expressions" as described in PEP 340 would eliminate the need for the awkward syntax and frame hackery I currently use.
since when does def mythread(self): ... yield request print self.response ... qualify as frame hackery? </F>