This function works exactly the same way as Section 20.19, “int(): Convert to int type”, except that it produces a
result of type long.
>>> long(43)
43L
>>> long(43.889)
43L
>>> long('12345678901234567890123457890')
12345678901234567890123457890L
>>> long('potrzebie456', 36)
3381314581245790842L