Eric Snow added the comment: I realized those two stats are not superfluous in the case that a directory name has a .py suffix or a file doesn't have any suffix. However, I expect that's pretty uncommon.
Worst case, these cases cost 2 stats per path entry. In practice they cost nothing due to the dir caching we already do. ---------- _______________________________________ 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