Skip to content

Add the version bridge for BYTE in the GUID module. #696

Open
@junkmd

Description

@junkmd

From #694 (comment):

To be sure that BYTE is c_ubyte on any python version comtypes support, shouldn't we do this?

if sys.version_info >= (3, 12):

    from ctypes.wintypes import BYTE

else:

    from ctypes import c_ubyte

    BYTE = c_ubyte

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions