[Python-Dev] yield * (Re: Missing operator.call) (original) (raw)

Guido van Rossum guido at python.org
Sat Feb 7 21:31:51 CET 2009


Time to move to this to python-ideas, folks.

On Sat, Feb 7, 2009 at 12:26 PM, Calvin Spealman <ironfroggy at gmail.com> wrote:

All of this debate is moot without the foundation of a common library on which we would be building these coroutines. Any proposal of a specific coroutine syntax is worthless without a time and community tested coroutine implementation, which would be subject to the same rigerous inclusion requirements as any other 3rd party library. Only then, some time in the future, would any argument about a specific syntax be worth real consideration.

Let's not jump the shark. On Sat, Feb 7, 2009 at 3:16 PM, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote: Willem Broekema wrote:

Function g violates the current limitation that generators can't return with a value. So can g only be used using "yield *" then, or would that limitation be removed? The limitation would be removed, in the interests of making it easier to use generators as coroutines. -- Greg


Python-Dev mailing list Python-Dev at python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/ironfroggy%40gmail.com

-- Read my blog! I depend on your acceptance of my opinion! I am interesting! http://techblog.ironfroggy.com/ Follow me if you're into that sort of thing: http://www.twitter.com/ironfroggy


Python-Dev mailing list Python-Dev at python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/guido%40python.org

-- --Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list