Skip to content

Equality between bytes/bytearray and Array[Byte]/List[Byte] no longer works #568

Open
@slozier

Description

@slozier

#567 broke the following interop scenarios:

b = bytes(range(5))
System.Array[System.Byte](b) == b
System.Collections.Generic.List[System.Byte](b) == b
System.Array[System.Byte](b) == bytearray(b)
System.Collections.Generic.List[System.Byte](b) == bytearray(b)

While during initial development this is probably good (to help discover bugs) it might be worth enabling this scenario in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NET interopIssues relating to how IronPython interacts with .NET types

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions