[Python-Dev] nonlocal x = value (original) (raw)
Alexander Belopolsky alexander.belopolsky at gmail.com
Fri Dec 17 18:13:47 CET 2010
- Previous message: [Python-Dev] nonlocal x = value
- Next message: [Python-Dev] nonlocal x = value
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Dec 17, 2010 at 11:52 AM, Laurens Van Houtven <lvh at laurensvh.be> wrote:
+1 for throwing it out of the PEP. Assignment is a thing, nonlocal/global is a thing, don't mix them up :) (That in addition to the grammar cleanliness argument Stephan already made)
Another +1 for the same reasons. Also, since global does not allow assignment, neither should nonlocal.
- Previous message: [Python-Dev] nonlocal x = value
- Next message: [Python-Dev] nonlocal x = value
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]