commit | 06ddd35f5f88fb22d1378dc8fb7bc6d87d0d05a6 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Tue Mar 29 13:38:22 2016 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Tue Mar 29 13:38:22 2016 +0200 |
tree | a016506e906231b3ce2a59004e56c5b7420d4493 | |
parent | 8ba2083e0e614a1bca0a12aa61e8a55389a1220f [diff] |
Issue #25911: Backport os._DummyDirEntry fixes * Fix test_os.BytesWalkTests on Windows * Mimick better the reference os.DirEntry on Windows * _DummyDirEntry now caches os.stat() result * _DummyDirEntry constructor now tries to get os.stat() * Fix os._DummyDirEntry.is_symlink(), don't follow symbolic links: use os.stat(path, follow_symlinks=False).