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.