On 12Dec2020 07:39, ast <ast@invalid> wrote: >In case a function recursively calls itself many times, >is there a way to return a data immediately without >unstacking all functions ?
Not really. Do you have an example where this is inconvenient? There are alternatives, for example passing in a Queue and put()ing the data onto the queue. It's quite dependent on what you're trying to do though. Cheers, Cameron Simpson <c...@cskk.id.au> -- https://mail.python.org/mailman/listinfo/python-list