karroum
Joined 6 years ago
Karma
190
Submissions
10
Member since
Nov 15
Joined 6 years ago
I'll update the article.
sys.maxsize is the maximal number of digits a _long_ in python may have.
the `10*sys.maxsize` was just an example to show that, even in Python, long objects have a limit (although very big : 10*9223372036854775807 on 64 bits).
I honestly didn't wait to see if the interpreter will effectively complain about its size (it takes why too much time).
EDIT : According to gvx's comment those limits are not correct (sys.maxsize is not technicaly the max of digits possible, due to a bad interpretation of what Py_Size means on my side)