3 ms·
According to this comment : https://stackoverflow.com/a/42777910/14517936 https://stackoverflow.com/a/42777910/14517936 sys.maxsize is the maximal number of di
by karroum 6y ago
According to this comment : https://stackoverflow.com/a/42777910/14517936 https://stackoverflow.com/a/42777910/14517936
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)
- deleted 6y ago[deleted]