Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #94049
| From | Serhiy Storchaka <storchaka@gmail.com> |
|---|---|
| Subject | Re: Proposed keyword to transfer control to another function |
| Date | 2015-07-18 06:48 +0300 |
| References | <CAPTjJmq7_sG+HmMCBPWq2A3GQFPix-OjUTCu+yAmWiJmEFy6PA@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.672.1437191299.3674.python-list@python.org> (permalink) |
On 17.07.15 02:46, Chris Angelico wrote: > Out of the lengthy thread on tail call optimization has come one broad > theory that might be of interest, so I'm spinning it off into its own > thread. > > The concept is like the Unix exec[vlpe] family of functions: replace > the current stack frame with a new one. This can be used for explicit > tail recursion without repeated stack frames, or for a pre-check that > then disappears out of the stack. Like any other feature, it can be > misused to make debugging difficult, but among consenting adults, > hopefully it can be used sensibly. I think there is no chance that this proposition will be accepted by Guido, because it makes debugging harder.
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: Proposed keyword to transfer control to another function Serhiy Storchaka <storchaka@gmail.com> - 2015-07-18 06:48 +0300 Re: Proposed keyword to transfer control to another function Rustom Mody <rustompmody@gmail.com> - 2015-07-18 20:06 -0700
csiph-web