[issue37746] Provide Windows predefined access type constants

Steve Dower report at bugs.python.org
Fri Aug 2 21:03:36 EDT 2019


Steve Dower <steve.dower at python.org> added the comment:

At least the first five can be used to open keys with even less rights than default, which can sometimes be necessary for keys with obscure ACLs.

Having the constants present is also helpful when rendering a text view.

Perhaps _winapi is the best place? It already includes CreateFile and OpenProcess, both of which also use these flags and already have some of the "preconstructed" values exposed.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37746>
_______________________________________


More information about the Python-bugs-list mailing list