Re: [Tutor] a question about maxint

2012-10-03 Thread eryksun
On Wed, Oct 3, 2012 at 2:53 PM, Alan Gauld wrote: > > The only times you really need to worry about maxsize is when interfacing to > external non-python code. It's not generally a problem, but if you're on a 32-bit platform, for which sys.maxsize is 2**31 - 1, that sets the maximum length of a se

Re: [Tutor] a question about maxint

2012-10-03 Thread Alan Gauld
On 03/10/12 12:33, eryksun wrote: On Wed, Oct 3, 2012 at 1:28 AM, Katya Stolpovskaya Thank you for you reply, but with "long" I got the same error: from sys import * long Traceback (most recent call last): File "", line 1, in long NameError: name 'long' is not defined I assumed some fam

Re: [Tutor] a question about maxint

2012-10-03 Thread eryksun
On Wed, Oct 3, 2012 at 1:28 AM, Katya Stolpovskaya wrote: > > Thank you for you reply, but with "long" I got the same error: > from sys import * long > > Traceback (most recent call last): > File "", line 1, in > long > NameError: name 'long' is not defined I assumed some familiarity w

Re: [Tutor] a question about maxint

2012-10-02 Thread eryksun
On Tue, Oct 2, 2012 at 12:55 PM, Katya Stolpovskaya wrote: > > I have this error: > from sys import * maxint > Traceback (most recent call last): > File "", line 1, in > maxint > NameError: name 'maxint' is not defined > > > What does it mean and how to deal with it? The "int" type in

Re: [Tutor] a question about maxint

2012-10-02 Thread Mark Lawrence
On 02/10/2012 17:55, Katya Stolpovskaya wrote: Hi all, I have this error: from sys import * maxint Traceback (most recent call last): File "", line 1, in maxint NameError: name 'maxint' is not defined What does it mean and how to deal with it? Thank you in advance, Katya _

Re: [Tutor] a question about maxint

2012-10-02 Thread Peter Otten
Katya Stolpovskaya wrote: > I have this error: > from sys import * maxint > Traceback (most recent call last): > File "", line 1, in > maxint > NameError: name 'maxint' is not defined > > > What does it mean and how to deal with it? You are probably using Python 3 which doesn't have

[Tutor] a question about maxint

2012-10-02 Thread Katya Stolpovskaya
Hi all, I have this error: >>> from sys import * >>> maxint Traceback (most recent call last): File "", line 1, in maxint NameError: name 'maxint' is not defined What does it mean and how to deal with it? Thank you in advance, Katya -- AKA XIAOJIA __