Skip to content

Document/(disable?) new int/str conversions limits (in CPython 3.11+ and older bugfix releases) #716

@skirpichev

Description

@skirpichev

See sympy/sympy#24033

This will hit at least from_str()/to_str() functions, but maybe more...

The gmpy2 backend doesn't have this "feature". So, as an alternative - we could disable this with sys.set_int_max_str_digits(0) in the __init__.py. But we should warn users somehow: their code might rely on this new behaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviordocs

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions