Jeroen Demeyer <> added the comment:

> I am wondering if, instead, the bug is in m, the object returned by 
> MethodType, or in attribute lookup thereupon.

What would you expect m.__code__ to return then? Methods support arbitrary 
callables and certainly not all callables have a meaningful __code__.


Python tracker <>
Python-bugs-list mailing list

Reply via email to