[Python-Dev] Unbound locals in class scopes

Guido van Rossum guido at python.org
Sun Jun 21 22:05:58 CEST 2015

On Sun, Jun 21, 2015 at 6:22 PM, Ivan Levkivskyi <levkivskyi at gmail.com>

> It is still not clear whether Guido's comment still stands for not raising
> an UnboundLocalError in class definitions but using globals instead.

Can you phrase this in the form of an example, showing what it currently
does and what you think it should do, instead?

--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150621/97065629/attachment.html>

More information about the Python-Dev mailing list