On Thu, 02 Feb 2006 23:46:00 +0100, =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?= <[EMAIL PROTECTED]> wrote:
>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. Aw, shux, dang. I didn't say what I meant ;-/ Apologies to James & all 'round. s/integer/int/ in the above. Regards, Bengt Richter _______________________________________________ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
