Message348908
We currently do not provide the standard access type constants anywhere, despite providing some of the specific access type flags (e.g. in `winreg`):
#define DELETE (0x00010000L)
#define READ_CONTROL (0x00020000L)
#define WRITE_DAC (0x00040000L)
#define WRITE_OWNER (0x00080000L)
#define SYNCHRONIZE (0x00100000L)
#define STANDARD_RIGHTS_REQUIRED (0x000F0000L)
#define STANDARD_RIGHTS_READ (READ_CONTROL)
#define STANDARD_RIGHTS_WRITE (READ_CONTROL)
#define STANDARD_RIGHTS_EXECUTE (READ_CONTROL)
#define STANDARD_RIGHTS_ALL (0x001F0000L)
#define SPECIFIC_RIGHTS_ALL (0x0000FFFFL)
I'm not sure where the best place to expose them would be. `os` (`nt`) seems best, but it's 99% a POSIX shim that doesn't actually have anything Windows-specific exposed, and `_winapi` is not public.
They're likely already available through pywin32 or similar, but given their use with `winreg` we should probably at least make them available there. |
|
| Date |
User |
Action |
Args |
| 2019-08-02 17:23:17 | steve.dower | set | recipients:
+ steve.dower, paul.moore, tim.golden, zach.ware |
| 2019-08-02 17:23:17 | steve.dower | set | messageid: <1564766597.45.0.90249654152.issue37746@roundup.psfhosted.org> |
| 2019-08-02 17:23:17 | steve.dower | link | issue37746 messages |
| 2019-08-02 17:23:17 | steve.dower | create | |
|