[Python-ideas] Cofunctions without codef
ghazel at gmail.com
ghazel at gmail.com
Wed Aug 11 07:41:24 CEST 2010
On Tue, Aug 10, 2010 at 10:45 PM, Greg Ewing
<greg.ewing at canterbury.ac.nz> wrote:
>
> 2. The 'cocall' construct checks whether the function
> supports cocalls, and if so, proceeds as previously
> specified. Otherwise, it calls the function normally
> and returns the result.
>
> Does this scheme sound any better?
Well, considering:
On Sun, Aug 1, 2010 at 4:52 AM, <ghazel at gmail.com> wrote:
> It seems like calling a normal function
> using this special calling mechanism could treat them like a
> cofunction which produced zero iterations and a single return value.
I would say yes. :)
-Greg
More information about the Python-ideas
mailing list