Géry <gery.o...@gmail.com> added the comment:

@Raymond Hettinger

> Though less accurate, the current version communicates better

I agree that types.MethodType is more accurate but may be less understandable. 
But in this case I think that the Function class for emulating instance methods 
should not use types.MethodType either, but a custom newfunc function as well. 
And **kwargs parameters should be added to both newfunc functions.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37203>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to