Skip to content

Unused codes in winreg.c #140916

@aisk

Description

@aisk

Bug report

Bug description:

Both PyHKEY_New and PyWinObject_CloseHKEY are unused and not exported to the module, so I think we can safely remove them to clean up the codebase. The latter looks like it was intended to be a module-level function exposed to Python, but it hasn’t been exported in recent versions at least.

CPython versions tested on:

CPython main branch

Operating systems tested on:

Windows

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions