##// 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 / qt / console
resources
tests
__init__.py Loading ...
__main__.py Loading ...
ansi_code_processor.py Loading ...
bracket_matcher.py Loading ...
call_tip_widget.py Loading ...
completion_html.py Loading ...
completion_lexer.py Loading ...
completion_plain.py Loading ...
completion_widget.py Loading ...
console_widget.py Loading ...
frontend_widget.py Loading ...
history_console_widget.py Loading ...
ipython_widget.py Loading ...
kill_ring.py Loading ...
mainwindow.py Loading ...
pygments_highlighter.py Loading ...
qtconsoleapp.py Loading ...
rich_ipython_widget.py Loading ...
styles.py Loading ...