Re: [Tutor] big numbers

2005-03-17 Thread Hugo González Monteverde
Yes, it is: http://python.fyxm.net/peps/pep-0237.html Robert Storey wrote: This book is a few years old and was written for Python version 1.5, and of course I'm using version 2.3, so I'm just wondering if this whole issue of big numbers is now being handled automatically? This is my first post - s

Re: [Tutor] big numbers

2005-03-15 Thread Kent Johnson
Robert Storey wrote: This book is a few years old and was written for Python version 1.5, and of course I'm using version 2.3, so I'm just wondering if this whole issue of big numbers is now being handled automatically? Yes, it is. There have been many changes to Python since 1.5; when you are comf

Re: [Tutor] big numbers

2005-03-15 Thread Ewald Ertl
Hi! As far as I can remember, there was a change between some version's of python of 2.x. Now there is an automatic conversion from int to long, when it is necessary. Regards, Ewald on Tue, 15 Mar 2005 15:06:06 +0800 Robert Storey <[EMAIL PROTECTED]> wrote : --

[Tutor] big numbers

2005-03-14 Thread Robert Storey
Dear all, I'm new to Python, and using Sam's Teach Yourself Python in 24 Hours. The book introduces big numbers, saying that I should expect the following problem: >>> 1 + 99 OverflowError: integer literal too large The "problem" is that this doesn't happen. When I execute this c