Devin Bayer <d...@doubly.so> added the comment: You can't demand a hot loader to react instantly and there are other use cases, like generating modules programatically.
What is your objection to my proposed solution, which behaves correctly in all cases? If you are not importing modules immediately after writing them, there is no harm in skipping the cache if the file mtime differs from the current time. If you are importing modules immediately, then you want to bypass the cache in that case, since it can't be relied upon. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31772> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com