Does Python need a '>>>' operator?
Jon Ribbens
jon+usenet at unequivocal.co.uk
Tue Apr 16 09:56:47 EDT 2002
In article <3cbb996d at news.mhogaming.com>, Ken Peek wrote:
>| So you think that:
>|
>| long(hex(-1l), 16)
>|
>| should not equal -1 but, err, some random choice of 15, 255, 4095,
>| 65535, etc?
>
> No, since we are "unifying" the int and long type, it is none
> of your business HOW they are stored-- so we do away with the
> 'int()' and 'long()' functions...
So you think that:
number(hex(-1), 16)
should not equal -1 but, err, some random choice of 15, 255, 4095,
65535, etc?
More information about the Python-list
mailing list