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