Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #94019

Re: Proposed keyword to transfer control to another function

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 <ethan@stoneleaf.us>
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 <ethan@stoneleaf.us>
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 <CAPTjJmq7_sG+HmMCBPWq2A3GQFPix-OjUTCu+yAmWiJmEFy6PA@mail.gmail.com> <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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.652.1437154384.3674.python-list@python.org> (permalink)
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

Show key headers only | View raw


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~

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Proposed keyword to transfer control to another function Ethan Furman <ethan@stoneleaf.us> - 2015-07-17 10:32 -0700

csiph-web