• Ken Manheimer's avatar
    ExternalMethod.__call__(): Fixed DevelopmentMode behavior so it didn't · b3a20523
    Ken Manheimer authored
    reload extenal method files every time.
    
    The problem was that the entire os.stat() record was being compared,
    and that includes the access time, which of course changes every time
    the method is loaded - self fulfilling prophecy, and all.
    
    Instead, we now just stash and compare the modification time
    (ST_MTIME) field, and get rid of the extraneous (expensive) reloads.
    b3a20523
ExternalMethod.py 10.2 KB