Skip to content

int.from_bytes can omit byte_order parameter #4750

@jyj0816

Description

@jyj0816

Feature

Changed in version 3.11: Added default argument value for byteorder.
Remove unnecessary parameter in "random.py"

a = int.from_bytes(a + _sha512(a).digest())

TypeError: Expected at least 1 arguments (2 given)

Python Documentation

documentation: CPython v3.11.2 from_bytes issue
source code: ref

Metadata

Metadata

Assignees

No one assigned

    Labels

    z-ca-2023Tag to track contrubution-academy 2023

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions