Stefano Taschini <tasch...@ieee.org> added the comment: I think this should do.
inspect.getargs is now looking for STORE_DEREF besides STORE_FAST, and is making sure that the appropriate namespace (locals vs cell + free vars) is selected depending on the opcode. The only changes to the test suite are three additional tests, based on the two examples above. ---------- keywords: +patch Added file: http://bugs.python.org/file25269/issue_14611.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14611> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com