##// END OF EJS Templates
Store timestamps for modules to autoreload...
Store timestamps for modules to autoreload Closes gh-4127 At present, autoreload compares the timestamps on .py and .pyc files. However, this can fail in a couple of ways (see gh-4127). With this change, it caches the mtime of the .py file when we loaded it. Some extra complexity is needed to store the mtime as soon as possible - we scan sys.modules when autoreload is loaded, and register a post_execute hook to check for newly imported modules after each cell.
Thomas Kluyver -
r15682:3ec67fcd
Show More
Name Size Modified Last Commit Author
/ IPython / utils / tests
__init__.py Loading ...
test_capture.py Loading ...
test_decorators.py Loading ...
test_dir2.py Loading ...
test_imports.py Loading ...
test_importstring.py Loading ...
test_io.py Loading ...
test_jsonutil.py Loading ...
test_localinterfaces.py Loading ...
test_module_paths.py Loading ...
test_openpy.py Loading ...
test_path.py Loading ...
test_pickleshare.py Loading ...
test_process.py Loading ...
test_pycolorize.py Loading ...
test_tempdir.py Loading ...
test_text.py Loading ...
test_traitlets.py Loading ...
test_wildcard.py Loading ...