[Python-3000] mechanism for handling asynchronous concurrency

Josiah Carlson jcarlson at uci.edu
Wed Apr 19 05:15:42 CEST 2006


Andy Sy <andy at neotitans.com> wrote:
>> The Io language has what (on paper) seems to be a very
> neat, Pythonic mechanism for doing asynchronous concurrency.
>>> The mechanism is called futures and is described at:
>> http://iolanguage.com/darcs/Io/_docs/guide.html#TOC17133
>>> Perhaps Python 3000 can incorporate some similar ideas
> in its syntax or standard library?

This has been the case since Python 2.2 (if I remember correctly), see
generators. Python 2.5 adds a mechanism to pass information back into
generators (gen.send()).
 - Josiah


More information about the Python-3000 mailing list

AltStyle によって変換されたページ (->オリジナル) /