Brett Cannon added the comment:

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?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19216>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to