Hello,

The winreg module has a function for loading a registry key under
another registry key, called winreg.LoadKey. Unfortunately, the module
doesn't provide a way to unload that key after the user finishes
operating with it. There's a patch [1] for exporting the RegUnloadKey
[2] API in winreg module as winreg.UnloadKey, similar to how
RegLoadKey is exported as winreg.LoadKey. The patch is helped by
another one [3],  which provides a new module,
test.support.windows_helper, for handling various issues on the
Windows platform, such as acquiring or releasing a privilege.
Unfortunately, it seems there's a dearth of reviewers for this
platform. Could someone knowledgeable with Windows be so kind to
review these patches?
They could make a good addition for Python 3.5.

Thank you very much.


[1] http://bugs.python.org/issue21518 - Expose RegUnloadKey in winreg
[2] 
https://msdn.microsoft.com/en-us/library/windows/desktop/ms724924%28v=vs.85%29.aspx
[3] http://bugs.python.org/issue22080 - Add windows_helper module helper


/Claudiu
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to