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 barry, brett.cannon, christian.heimes, eric.snow, pitrou, r.david.murray, vstinner
Date 2013-10-11.01:02:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381453359.5.0.438129706338.issue19216@psf.upfronthosting.co.za>
In-reply-to
Content
So the 2 stat calls in the general case are superfluous, it's just a question of whether they make any performance difference. Turns out that at least on my Macbook their is no performance difference and thus not worth the cost of breaking semantics over it: http://bugs.python.org/issue18810 .

As for completely turning off stat calls during interpreter startup, that would definitely buy us something, but the question is how much and how do we make it work reliably?
History
Date User Action Args
2013-10-11 01:02:39brett.cannonsetrecipients: + brett.cannon, barry, pitrou, vstinner, christian.heimes, r.david.murray, eric.snow
2013-10-11 01:02:39brett.cannonsetmessageid: <1381453359.5.0.438129706338.issue19216@psf.upfronthosting.co.za>
2013-10-11 01:02:39brett.cannonlinkissue19216 messages
2013-10-11 01:02:39brett.cannoncreate