On 06/15/2010 03:49 AM, Walter Bright wrote:
Here's what the wikipedia said about it.

"In Python, a number that becomes too large for an integer seamlessly
becomes a long.[1] And in Python 3.0, integers and arbitrary sized longs
are unified."

-- http://en.wikipedia.org/wiki/Integer_overflow

(Just switching to long isn't good enough - what happens when long
overflows? I generally don't like solution like this because it makes
tripping the bug so rare that it can lurk for years. I prefer to flush
bugs out in the open early.)

A long in pythonic would be a BigInt in D, so no overflows. Python integers don't overflow.

Reply via email to