Serhiy Storchaka added the comment: Committed patches were generated with attached Coccinelle script. ---------- Added file: http://bugs.python.org/file41401/py_setref.cocci _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue20440> _______________________________________