A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-April/053045.html below:

[Python-Dev] Re: Re: anonymous blocks

[Python-Dev] Re: Re: anonymous blocks [Python-Dev] Re: Re: anonymous blocksFredrik Lundh fredrik at pythonware.com
Wed Apr 27 17:32:16 CEST 2005
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>

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4