]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Enhance os._DummyDirEntry
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 24 Mar 2016 11:23:18 +0000 (12:23 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 24 Mar 2016 11:23:18 +0000 (12:23 +0100)
commitba8b0a7db447fad7a7064e53424725b02ab5ccec
tree0dcc238644acdfcfe34cf7c42b6d345e62c5903d
parent56db16cd445603f688084d9ace4c271b13e4ec01
Enhance os._DummyDirEntry

Issue #25911:

* Try to fix test_os.BytesWalkTests on Windows
* Try to mimick better the reference os.DirEntry on Windows
* _DummyDirEntry now caches os.stat() result
* _DummyDirEntry constructor now tries to get os.stat()
Lib/os.py