bpo-39007: Add auditing events to functions in winreg (GH-17541)


Also allows winreg.CloseKey() to accept same types as other functions.
(cherry picked from commit ee17e3735634c5fe15a43f897707de8011618627)

Co-authored-by: Steve Dower <steve.dower@python.org>
5 files changed