diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-06-20 17:45:54 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-06-20 17:45:54 +0200 |
commit | fb25ba9b073ddcec602700484ff5fc2b1bea1a59 (patch) | |
tree | 82bcb24c576d8a4fc99c30132f02cca2dbd2eccf /Python/bltinmodule.c | |
parent | 54e647f21511feca159a734b49878f566c72ab1d (diff) | |
download | cpython-git-fb25ba9b073ddcec602700484ff5fc2b1bea1a59.tar.gz |
Close #12289: Fix "is executable?" test in the CGI server
Use os.access(path, os.X_OK) instead of (os.stat(path).st_mode & 0o111 != 0),
and ignore the test on Windows.
Diffstat (limited to 'Python/bltinmodule.c')
0 files changed, 0 insertions, 0 deletions