Author jdemeyer
Recipients jdemeyer, r.david.murray, scoder, serhiy.storchaka, steven.daprano
Date 2017-04-14.15:03:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
At the very least, the inspect module should use more duck-typing internally. For example, consider this code from "getfile":

    if ismethod(object):
        object = object.__func__
    if isfunction(object):
        object = object.__code__
    if istraceback(object):
        object = object.tb_frame
    if isframe(object):
        object = object.f_code
    if iscode(object):
        return object.co_filename
Date User Action Args
2017-04-14 15:03:39jdemeyersetrecipients: + jdemeyer, scoder, steven.daprano, r.david.murray, serhiy.storchaka
2017-04-14 15:03:39jdemeyersetmessageid: <>
2017-04-14 15:03:39jdemeyerlinkissue30071 messages
2017-04-14 15:03:38jdemeyercreate