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 brett.cannon
Recipients akvadrako, brett.cannon, eric.snow, ncoghlan
Date 2017-10-13.17:11:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507914718.74.0.213398074469.issue31772@psf.upfronthosting.co.za>
In-reply-to
Content
To make the proposal concrete, would you then change https://github.com/python/cpython/blob/master/Lib/importlib/_bootstrap_external.py#L785 to include a `source_mtime != int(time.time())` guard? I think as long as that's the last check in the guard since that has they highest performance cost it should be okay (I don't think any platform makes calling the clock an expensive operation).

And nothing personal about pro-actively closing this, Devin, but with over 6000 issues in this issue tracker alone it's easier to ask forgiveness than permission when it comes to issues that at the outset don't look like a good idea. Otherwise I would have to track this issue personally in case you never responded again (which does happen), and that just becomes a maintenance burden on me when I have 3 other Python-related projects that I'm also actively working on issues with (ignoring any issues that I get involved with on this tracker).
History
Date User Action Args
2017-10-13 17:11:58brett.cannonsetrecipients: + brett.cannon, ncoghlan, eric.snow, akvadrako
2017-10-13 17:11:58brett.cannonsetmessageid: <1507914718.74.0.213398074469.issue31772@psf.upfronthosting.co.za>
2017-10-13 17:11:58brett.cannonlinkissue31772 messages
2017-10-13 17:11:58brett.cannoncreate