Eric V. Smith <e...@trueblade.com> added the comment: I think this is correct. The documentation says globals is "the function’s module globals". I suggest closing this as not a bug.
https://docs.python.org/3/library/inspect.html#inspect.getclosurevars ---------- nosy: +eric.smith status: open -> pending type: -> behavior _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36697> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com