Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #94000
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: Proposed keyword to transfer control to another function |
| Date | 2015-07-17 05:47 -0400 |
| References | <CAPTjJmq7_sG+HmMCBPWq2A3GQFPix-OjUTCu+yAmWiJmEFy6PA@mail.gmail.com> <55A8AC13.8070803@rece.vub.ac.be> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.637.1437126496.3674.python-list@python.org> (permalink) |
On 7/17/2015 3:17 AM, Antoon Pardon wrote: > On 07/17/2015 01:46 AM, Chris Angelico wrote: >> Open for bikeshedding: What should the keyword be? We can't use >> "exec", which would match Unix and shell usage, because it's already >> used in a rather different sense in Python. Current candidates: >> "transfer", "goto", "recurse", and anything else you suggest. > > I propose the combination "return from". Much better. I believe 'yield from' actually cuts out the middle frame containing yield from. -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Proposed keyword to transfer control to another function Terry Reedy <tjreedy@udel.edu> - 2015-07-17 05:47 -0400
csiph-web