How does Python handle very large integers?
0:15
Python integers have arbitrary precision and can grow to any size limited only by available memory. There is no overflow as in fixed-width integer types. The interpreter automatically uses an optimized representation for small integers and switches to a larger one as needed.
docs.python.org