enthought / enthought/comtypes

`VARIANT._get_value` cannot unpack arrays of arbitrary type

Open
#63 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
345
Forks
105
PR merge metrics
No merged PRs in 30d

Description

The `VARIANT._get_value` method does not unpack arrays of arbitrary type. As seen [here](https://github.com/enthought/comtypes/blob/f269c84159372799cd0f8d7b0ee23f547b0b21ec/comtypes/automation.py#L455), it is assumed that the unpacked type is in the limited `_vartype_to_ctype` dictionary. This is likely the cause behind reclosedev/pyautocad#6. The code should be expanded to handle more types.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.