Message10856

Author zyasoft
Recipients zyasoft
Date 2016-05-11.16:36:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1462984597.78.0.692292920939.issue2499@psf.upfronthosting.co.za>
In-reply-to
Content
As seen in this hacky workaround for the lazy_reload package (https://github.com/boostpro/lazy_reload):

def is_submodule_name( name, root_name ):
    try:
        return (name + '.').startswith(root_name + '.')
    except:
        return (name + '.').startswith(root_name.__name__ + '.')
History
Date User Action Args
2016-05-11 16:36:37zyasoftsetrecipients: + zyasoft
2016-05-11 16:36:37zyasoftsetmessageid: <1462984597.78.0.692292920939.issue2499@psf.upfronthosting.co.za>
2016-05-11 16:36:37zyasoftlinkissue2499 messages
2016-05-11 16:36:36zyasoftcreate