Talin wrote: > If you change the behavior of 'global' to be the same as 'nonlocal' as > has been proposed, then this effectively becomes impossible - you can no > longer set any global that hasn't already been pre-declared.
of course you can, as long as it isn't shadowed in an intermediate scope. are you sure you know how free variables are handled in today's Python? </F> _______________________________________________ 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