Skip to content

GreedyByte is no longer able to build from bytearray in python 3. #827

Closed

Description

@arekbulski

@arekbulski GreedyByte is no longer able to build from bytearray in python 3.
the example below works in python 2.7 but not 3. prior to 2.10 this was working for both 2 and 3. I believe btyearray should be treated as bytes.

d = bytearray(b'\x11\x01\x05')
GreedyBytes.build(d)

Originally posted by @sbasharati in #824 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions