diff options
author | Brian Curtin <brian@python.org> | 2011-06-14 14:52:50 (GMT) |
---|---|---|
committer | Brian Curtin <brian@python.org> | 2011-06-14 14:52:50 (GMT) |
commit | c8be84077bbd87e80b1697db6dbfe0fc6e5cbc2b (patch) | |
tree | 44fe7c27720b8eb1c88d1fa54470993f028dc809 /Doc/whatsnew | |
parent | a87d586fd6c4a5dfe4ea89fda288ae8eb66b0134 (diff) | |
download | cpython-c8be84077bbd87e80b1697db6dbfe0fc6e5cbc2b.zip cpython-c8be84077bbd87e80b1697db6dbfe0fc6e5cbc2b.tar.gz cpython-c8be84077bbd87e80b1697db6dbfe0fc6e5cbc2b.tar.bz2 |
Correct completely broken os.stat behavior on Windows XP.
After 1a3e8db28d49, Windows XP could not os.stat at all due to raising
immediately when GetFinalPathNameByHandle wasn't available (pre-Vista).
The proper behavior in that situation is to just not attempt a traversal
rather than outright rejecting.
This change additionally handles a failed malloc by setting the error code
and returning false.
Patch by Hirokazu Yamamoto.
Diffstat (limited to 'Doc/whatsnew')
0 files changed, 0 insertions, 0 deletions