Bengt Richter wrote:
>>>[1] To reduce all this eye-glazing discussion to a simple example,  
>>>how do people now
>>>use hex notation to define an integer bit-mask constant with bits
> 
>                                  ^^^^^^^  
> 
>>>31 and 2 set?                    |
>>
>>                                  |
>>That's easy:                       |
>>0x80000004                         |
> 
>  >>> 0x80000004                     |
>  2147483652L                        |  
>            ^------------------------'
> 
> That didn't meet specs ;-)

It sure does: 2147483652L is an integer (a long one); it isn't an
int.

Regards,
Martin
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to