[Python-Dev] nonlocal x = value (original) (raw)

Alexander Belopolsky alexander.belopolsky at gmail.com
Fri Dec 17 18:13:47 CET 2010


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.



More information about the Python-Dev mailing list