commit | fb25ba9b073ddcec602700484ff5fc2b1bea1a59 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Mon Jun 20 17:45:54 2011 +0200 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Mon Jun 20 17:45:54 2011 +0200 |
tree | 82bcb24c576d8a4fc99c30132f02cca2dbd2eccf | |
parent | 54e647f21511feca159a734b49878f566c72ab1d [diff] |
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.