Re: [Python-Dev] Is static typing still optional?

2018-01-06 Thread Eric V. Smith
On 12/10/2017 5:00 PM, Raymond Hettinger wrote: On Dec 10, 2017, at 1:37 PM, Eric V. Smith wrote: On 12/10/2017 4:29 PM, Ivan Levkivskyi wrote: On 10 December 2017 at 22:24, Raymond Hettinger > wrote:

Re: [Python-Dev] Whatever happened to 'nonlocal x = y'?

2018-01-06 Thread Benjamin Peterson
https://github.com/python/peps/commit/2d2ac2d2b66d4e37e8b930f5963735616bddbbe8 On Sat, Jan 6, 2018, at 08:56, Barry Warsaw wrote: > On Jan 6, 2018, at 11:43, Guido van Rossum wrote: > > > > Maybe we should not delete them outright but add something like "(UPDATE: > > during

Re: [Python-Dev] Whatever happened to 'nonlocal x = y'?

2018-01-06 Thread Random832
On Fri, Jan 5, 2018, at 14:07, Guido van Rossum wrote: > Yeah, but I've changed my mind on this -- I think it's needless added > complexity that helps save one line of code in very few use cases. And you > don't really think the PEP endorses `nonlocal foo += 1` do you? The PEP itself is very

Re: [Python-Dev] Whatever happened to 'nonlocal x = y'?

2018-01-06 Thread Barry Warsaw
On Jan 6, 2018, at 11:43, Guido van Rossum wrote: > > Maybe we should not delete them outright but add something like "(UPDATE: > during later discussions it was decided that this feature shouldn't be > added.)" +1 -Barry signature.asc Description: Message signed with

Re: [Python-Dev] Whatever happened to 'nonlocal x = y'?

2018-01-06 Thread Guido van Rossum
Maybe we should not delete them outright but add something like "(UPDATE: during later discussions it was decided that this feature shouldn't be added.)" On Fri, Jan 5, 2018 at 10:52 PM, Benjamin Peterson wrote: > > > On Fri, Jan 5, 2018, at 01:57, Nathaniel Smith wrote: >