Skip to content

bytearray to str conversion changes behavior in python 3 #12

@hugochinchilla

Description

@hugochinchilla

In python 2:

>>> str(bytearray([97]))
'a'

In python 3:

>>> str(bytearray([97]))
bytearray(b'a')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions