Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.028 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'message-id:@stoneleaf.us': 0.09; 'python.': 0.11; 'usage,': 0.16; 'wrote:': 0.16; 'shell': 0.18; 'am,': 0.23; 'unix': 0.24; 'header :In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'sense': 0.26; 'chris': 0.26; '~ethan~': 0.29; "can't": 0.32; 'combination': 0.33; 'open': 0.33; 'propose': 0.35; 'should': 0.36; 'keyword': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:10': 0.37; 'anything': 0.38; 'rather': 0.39; 'to:addr:python.org': 0.40; 'charset:windows-1252': 0.62; 'different': 0.63; 'pardon': 0.84; 'received:10.1.10': 0.84 Date: Fri, 17 Jul 2015 10:32:55 -0700 From: Ethan Furman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Proposed keyword to transfer control to another function References: <55A8AC13.8070803@rece.vub.ac.be> In-Reply-To: <55A8AC13.8070803@rece.vub.ac.be> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1437154384 news.xs4all.nl 2931 [2001:888:2000:d::a6]:53349 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:94019 On 07/17/2015 12: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". +1 -- ~Ethan~