-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Open
Labels
OS-windowsstdlibPython modules in the Lib dirPython modules in the Lib dirtype-featureA feature request or enhancementA feature request or enhancement
Description
Proposal:
Currently, NTEventLogHandler
relies on external library pywin32
to provide its functionality. But it's a little bit weird for a standard library to depend on a 3rd-party library.
The pywin32 is only used to write some registry keys, and call RegisterEventSourceW, DeregisterEventSource, and ReportEventW to do the job.
We can use winreg
to write the registry keys, and wrap these functions in the _winapi
module, then use them to replace pywin32
.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Metadata
Metadata
Assignees
Labels
OS-windowsstdlibPython modules in the Lib dirPython modules in the Lib dirtype-featureA feature request or enhancementA feature request or enhancement
Projects
Status
No status