On 4/30/06, Ben Wing <[EMAIL PROTECTED]> wrote:
> [1] ideally, change this behavior, either for 2.6 or 3.0.  maybe have a
> `local' keyword if you really want a new scope.
> [2] until this change, python should always print a warning in this
> situation.
> [3] the current 'UnboundLocal' exception should probably be more
> helpful, e.g. suggesting that you might need to use a `global foo'
> declaration.

You're joking right?

--
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
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

Reply via email to