Message126004
The 'os.stat' method on windows seems to be hardcoded to check the file name extension when computing the 'executable permission flag' (st_mode).
(See Modules/posixmodule.c: win32_stat and win32_wstat)
Currently, it checks for :
'.bat', '.cmd', '.exe', '.com'
As dynamic libraries also must be executable on window, t should also check for :
'.dll'
It would be even better if the actual 'read and execute' permission is returned. |
|
Date |
User |
Action |
Args |
2011-01-11 13:13:01 | jeroen.dobbelaere | set | recipients:
+ jeroen.dobbelaere |
2011-01-11 13:13:01 | jeroen.dobbelaere | set | messageid: <1294751581.52.0.421644635374.issue10888@psf.upfronthosting.co.za> |
2011-01-11 13:12:58 | jeroen.dobbelaere | link | issue10888 messages |
2011-01-11 13:12:58 | jeroen.dobbelaere | create | |
|