Jeroen Demeyer <j.deme...@ugent.be> 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 <rep...@bugs.python.org> <https://bugs.python.org/issue33261> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com