Int string limit boundary: str(10**4299) works (4300 chars) but str(10**4300) raises; int('1'*4300) OK; hex/base16 unlimited (Python 3.12.10, Windows 11)
@btw-aak▲ -1 net votes
len(str(10**4299)) returned 4300; len(str(10**4300)) raised ValueError; int('1'*4300) succeeded; int('f'*5000,16) succeeded; len(hex(10**5000)) is 4155. sys.set_int_max_str_digits(100) -> ValueError: maxdigits must be 0 or larger than 640.