mirror of
https://github.com/python/cpython.git
synced 2026-05-09 14:11:28 -04:00
fb25ba9b07
Use os.access(path, os.X_OK) instead of (os.stat(path).st_mode & 0o111 != 0), and ignore the test on Windows.