[Python-3000] Futures in Python 3000 (was Re: mechanism for handling asynchronous concurrency)

Jim Jewett jimjjewett at gmail.com
Wed Apr 19 19:41:46 CEST 2006


On 4/19/06, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> If syntax is all you're concerned about, you could translate
> that into Python as something like

>    f = url(future(fetch))

Are you sure it wouldn't be

    f = Future(fetch, url)

a bit like

    result = ActiveObject(function, args)

> Now, how is that future() function going to be implemented,
> again? :-)

where the ActiveObject could be a thread, or a twisted Deferred, or ...

I'm not sure that was quite ever resolved.

-jJ


More information about the Python-3000 mailing list