Ka-Ping Yee wrote: > nonlocal x = y = 0
I don't really like the idea of allowing assignment in the nonlocal/global/whatever statement. It leads to questions like what happens if some assignments in a scope are qualified with nonlocal and others aren't. Certainly answers can be given, but it's more complexity in the rules and more to learn. If declaration and assignment are kept separate, these questions don't arise in the first place. -- Greg _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com