Skip to content

Add get_int_max_str_digits and set_int_max_str_digits in sys. #5010

Closed
@DimitrisJim

Description

@DimitrisJim

Feature

These were newly added in 3.11 and should be relatively straightforward to add, reference: https://docs.python.org/3/library/stdtypes.html#int-max-str-digits

Additions to int_info already exist so just the get/set function should be added. (See PyIntInfo in sys.rs).

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-compatA discrepancy between RustPython and CPythongood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions