Christian Heimes added the comment:

Some cases aren't covered by the fixer. I'm not sure if we need fixers
for two cases:

Python 2.x:
Cls.method = types.MethodType(function, None, Cls)
Python 3.0:
Cls.method = function

Python 2.x:
instance.method = types.MethodType(function, instance, instance.__class__)
Python 3.0:
instance.method = types.MethodType(function, instance)

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1504>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to