On Fri, Mar 18, 2016 at 7:47 AM, Ian Kelly <ian.g.ke...@gmail.com> wrote: > Your patched version takes two extra arguments. Did you add the > defaults for those to the function's __defaults__ attribute?
And as an afterthought, you'll likely need to replace the function's __globals__ with your own as well. -- https://mail.python.org/mailman/listinfo/python-list