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@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com