Goto (Posting On Python-List Prohibited)

MRAB python at mrabarnett.plus.com
Sat Dec 30 14:10:36 EST 2017


On 2017-12-30 18:21, bartc wrote:
> On 30/12/2017 16:53, mm0fmf wrote:
>> On 30/12/2017 14:41, bartc wrote:
>>> it looks a bit naff
>> 
>> Understatement of 2017.
> 
> I'm honest about my own ideas, but my remarks were about the use of
> special symbols such as "::" and "@".
> 
> Before completely dismissing it however, you should look at how another
> language such as Python can achieve the same thing.
> 
> Namely, take any block of code within a function, and allow it to be
> executed or shared from anywhere else in the function, with the minimum
> of disruption.
> 
> If it looks better than what I'd come up with, then I'll use that instead.
> 
Perhaps what you want is something closer to a local named subroutine 
that can directly access the local variables.



More information about the Python-list mailing list