Re: [Python-ideas] Fixing class scope brainstorm

2018-03-30 Thread Paul Moore
On 30 March 2018 at 06:17, Nick Coghlan wrote: > The fact that deep nesting of lexical scopes within an expression is > almost always going to be an unreadable mess in practice is one of the > reasons I don't think there's a strong case for either backwards > compatibility

Re: [Python-ideas] PEP 572: Statement-Local Name Bindings, take three!

2018-03-30 Thread Nikolaus Rath
On Mar 25 2018, Guido van Rossum wrote: > I gotta say I'm warming up to := in preference over 'as', *if* we're going > to do this at all (not a foregone conclusion at all). I'm surprised that no one has mentioned it yet, so as a quick datapoint: Go

Re: [Python-ideas] PEP 572: Statement-Local Name Bindings, take three!

2018-03-30 Thread Guido van Rossum
On Fri, Mar 30, 2018 at 12:04 PM, Nikolaus Rath wrote: > On Mar 25 2018, Guido van Rossum public.gmane.org> wrote: > > I gotta say I'm warming up to := in preference over 'as', *if* we're > going > > to do this at all (not a foregone conclusion