A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-February/060342.html below:

[Python-Dev] Octal literals

[Python-Dev] Octal literals [Python-Dev] Octal literals"Martin v. Löwis" martin at v.loewis.de
Thu Feb 2 23:46:00 CET 2006
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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4