Ezio Melotti added the comment: Attached a sketchy proof of concept. It only checks for locals, but it should probably check for globals too. Does the approach make sense?
---------- keywords: +patch nosy: +benjamin.peterson type: -> enhancement Added file: http://bugs.python.org/file29936/issue17792.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17792> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com