Skip to content

Add tests to verify the behavior of _ctypes.CopyComPointer. #127183

Closed
@junkmd

Description

@junkmd

Feature or enhancement

Proposal:

There are other untested features related to COM besides COMError.

_ctypes.CopyComPointer, as the name suggests, copies a COM pointer from src to dst.
It also manages reference counts before and after the copy.

In the future, this functionality may also need to be made public similar to COMError.
However, my plan is to first add tests to confirm its current behavior, and then consider making it public and adding documentation.

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

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