[issue22574] super() and del in the same method leads to UnboundLocalError

Pierre-Antoine BRAMERET report at bugs.python.org
Tue Oct 7 14:31:06 CEST 2014


Pierre-Antoine BRAMERET added the comment:

Hi,

Tanks for your clear answer. I find it surprising that "del" bounds the name locally, but with little more thinking, it is not...

----------
resolution:  -> not a bug
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22574>
_______________________________________


More information about the Python-bugs-list mailing list