Skip to content

Incorrect Output When Printing Bytes Type #132730

@1m-noob

Description

@1m-noob

Bug report

Bug description:

from pathlib import Path
Info = Path("build/Info.bin").read_bytes()#.hex()
print(Info)
print(Info.hex())

here's the output:

b'\x01\x00\xc22\x00\x00\x00\x00\x00\x00'
0100c232000000000000

CPython versions tested on:

3.13, 3.10

Operating systems tested on:

Windows

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