Skip to content

xnd constructor parameter mutual exclusivity check limit incorrect. #21

@dmgass

Description

@dmgass

https://github.com/plures/xnd/blob/ad42562ee39bf96b7e40a4d11c502f882f22bcc3/python/xnd/__init__.py#L103

The check includes a tally of 5 parameters. The limit (2) would be correct for 4 parameters. This check is catching some use cases, but not all.

I'm guessing this is unpolished and wasn't tuned to completely shut out the invalid use cases in order to accommodate dtype being needed when values are supplied for typedef and dtypedef. Let me know if submissions like this are unhelpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions