Re: A python problem about int to long promotion just see the idle session

2006-05-23 Thread gen_tricomi
wow i think i was just been too paranoid. i thought it would affect some precision arithmetic in science. thanks for the reply -- http://mail.python.org/mailman/listinfo/python-list

Re: A python problem about int to long promotion just see the idle session

2006-05-03 Thread [EMAIL PROTECTED]
gen_tricomi wrote: > Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] > on win32 > Type "copyright", "credits" or "license()" for more information. > > > Personal firewall software may warn about the conn

Re: A python problem about int to long promotion just see the idle session

2006-05-03 Thread Robert Kern
gen_tricomi wrote: > from the above you can see what int to long promotion is causing > i dont need to say much please see for yourself. is this a bug or > a feature. This is expected behavior. Why is it problematic for you? -- Robert Kern "I have come to believe that the whole world is an eni

Re: A python problem about int to long promotion just see the idle session

2006-05-03 Thread Fredrik Lundh
"gen_tricomi" <[EMAIL PROTECTED]> wrote: > IDLE 1.1.2 > >>> import sys > >>> save_maxint = sys.maxint > >>> save_maxint > 2147483647 > >>> save_maxint += 1 > >>> save_maxint > 2147483648L > >>> save_maxint - 1 > 2147483647L > >>> save_maxint + 1 > 2147483649L > >>> save_maxint - 1 > 2147483647L >

A python problem about int to long promotion just see the idle session

2006-05-03 Thread gen_tricomi
Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for more information. Personal firewall software may warn about the connection IDLE makes to its su