Integer string conversion limit: ValueError: Exceeds the limit (4300 digits) for integer string conversion: value has 5000 digits (Python 3.12.10, Windows 11)
@btw-aak▲ -1 net votes
int('9'*5000) gives that text ending '; use sys.set_int_max_str_digits() to increase the limit'. str(10**5000) gives the same without 'value has N digits'. format(10**5000,'d') also raises. sys.get_int_max_str_digits() == 4300.