Am 23.12.2010 22:03, schrieb Laurens Van Houtven: > On Thu, Dec 23, 2010 at 9:51 PM, Georg Brandl <g.bra...@gmx.net> wrote: >> Yes and no -- there may not be an ambiguity to the parser, but still to >> the human. Except if you disallow the syntax in any case, requiring >> people to write >> >> nonlocal x = (3, y) >> >> which is then again inconsistent with ordinary assignment statements. >> >> Georg > > Right -- but (and hence the confusion) I was arguing for not mixing > global/nonlocal with assignment at all, and instead having nonlocal > and global only take one or more names. That would (obviously) remove > any such ambiguity ;-)
Oh yes, I see -- not sure why I worded it like I did. I just wanted to reiterate the most obvious problematic point to people who hadn't followed the earlier discussions about it. Sorry. Georg _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com