commit | 7fea974baf7ba69824a511ddaf7776634ea0737a | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Wed Mar 18 11:29:47 2015 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Wed Mar 18 11:29:47 2015 +0100 |
tree | 5c3699090ef73e78ebdfac4a8b39ff2549d4da70 | |
parent | a47fc5c2ddcf86eb3cb1ad628d04bf3764cfce59 [diff] |
Issue #23605: Fix os.walk(topdown=True), don't cache entry.is_symlink() because the caller can replace the directory with a different file kind. The bottom-up way, os.walk(topdown=False), still uses entry.is_symlink(), and so can be faster than Python 3.4.