[issue29114] __class__ not exists in the method which bounded by types.MethodType.
lanf0n
report at bugs.python.org
Fri Dec 30 11:15:17 EST 2016
lanf0n added the comment:
thanks xiang, Nick,
I might misunderstood MethodType to bound method will work as class definition.
It might not good to enhance MethodType to work as class definition, same problem on patching method to a class as Nick explained.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29114>
_______________________________________
More information about the Python-bugs-list
mailing list