Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> float(10**1000)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OverflowError: long int too large to convert to float
Think about it (I think I saw the first one in the comment that disappeared, so I'm not sure who the loan is for):
>>> 10.0**1000
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OverflowError: (34, 'Result too large')
>>> 10j**1000
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OverflowError: complex exponentiation
These are all types of x-to-int-power or int-to-float (or complex work).
And - because he appeared on the right in related matters! - there is:
>>> xrange(10**100)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OverflowError: Python int too large to convert to C long
which has a different look.