Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
co_names contains not only names of global variables. It contains also local names in the class scope, attribute names, names of imported modules, etc. ---------- nosy: +serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue30951> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com