[Python-ideas] A Continuations Compromise in Python

Adam Olsen rhamph at gmail.com
Tue May 5 12:15:29 CEST 2009


On Mon, May 4, 2009 at 5:16 PM, Mike Meyer <mwm at mired.org> wrote:
> On Sun, 3 May 2009 23:24:44 -0600
> Adam Olsen <rhamph at gmail.com> wrote:
>
>> On Sun, May 3, 2009 at 4:13 PM, Mike Meyer <mwm at mired.org> wrote:
>> > That looks every bit as significant as the change you get from a list
>> > comprehension to me - and these are simplified by ignoring keyword
>> > args.
>>
>> Yet you only need to do that once.
>
> Well, once every time you call a callable that needs a
> trampoline. That would include any recursive calls that weren't
> properly tail recursive. That could get ugly pretty fast.

You only need to *define* it once.


-- 
Adam Olsen, aka Rhamphoryncus



More information about the Python-ideas mailing list