Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
Thank you Inada-san. My first intention when I seen this code was to simplify it, but then I have found that it was an intentional change. It may be easy to detect such code and raise a syntax warning or error. Or get rid of this limitation and allow globals officially here. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32596> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com