This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author akvadrako
Recipients akvadrako, brett.cannon, eric.snow, ncoghlan
Date 2017-10-13.07:33:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507880035.69.0.213398074469.issue31772@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-10-13 07:33:55akvadrakosetrecipients: + akvadrako, brett.cannon, ncoghlan, eric.snow
2017-10-13 07:33:55akvadrakosetmessageid: <1507880035.69.0.213398074469.issue31772@psf.upfronthosting.co.za>
2017-10-13 07:33:55akvadrakolinkissue31772 messages
2017-10-13 07:33:55akvadrakocreate