Irit Katriel <iritkatr...@yahoo.com> added the comment:
Following a discussion on PR24976 we opted for "cannot access local variable 'x' where it is not associated with a value" This is because binding it not always related to assignment. I don't know whether this completely resolves this issue, or whether there is still something to change around the None-setting of except targets. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue17792> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com