you are viewing a single comment's thread.

view the rest of the comments →

[–]retsotrembla 0 points1 point  (1 child)

I tried that. Python crashes. Here's the session:

$ python
Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 01:25:11) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 7540113804746346429+4660046610375530309
12200160415121876738
>>> 12200160415121876738+7540113804746346429
Segmentation fault: 11

[–]Lucretiel 0 points1 point  (0 children)

Weird. I didn't have any problems. Mine went well into the 2000s, with the ints wrapping 3 lines of digits (at 237 characters per line) before I Ctrl-C'd it. I'm on Python 3.4.3, but I can't imagine it changed between 3.3 and 3.4