This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author georgefischhof
Recipients docs@python, georgefischhof
Date 2018-10-19.09:14:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539940450.92.0.788709270274.issue35026@psf.upfronthosting.co.za>
In-reply-to
Content
Winreg's documentation lacks mentioning required permission at some points

Hi there,

on page 
https://docs.python.org/3/library/winreg.html
it is not mentioned in the description of the following functions:
winreg.DeleteKey
winreg.DeleteKeyEx
winreg.DeleteValue

that they require KEY_SET_VALUE when the registry key is opened.

It is mentioned for example at:
winreg.SetValue

with the following text:
The key identified by the key parameter must have been opened with KEY_SET_VALUE access.


BR,
George
History
Date User Action Args
2018-10-19 09:14:10georgefischhofsetrecipients: + georgefischhof, docs@python
2018-10-19 09:14:10georgefischhofsetmessageid: <1539940450.92.0.788709270274.issue35026@psf.upfronthosting.co.za>
2018-10-19 09:14:10georgefischhoflinkissue35026 messages
2018-10-19 09:14:10georgefischhofcreate