Getting at the bits of a 32-bit integer

Jeremy Bowers jerf at jerf.org
Mon Aug 23 22:00:44 EDT 2004


On Tue, 24 Aug 2004 01:25:09 +0000, Grant Edwards wrote:
>> However, I must challenge your need to do this in the first place.
> 
> That's a bit, um, conceited.

I said "challenge", not "deny". If you're new to Python and you are
twiddling bits, the odds favor the new user falsely importing old
paradigms from other languages, not needing to do the twiddling. Of
course, in lieu of a problem specification, that's all we can say.

I stand by my message. (And before you jump on this one, please understand
that I use language precisely; unlike a lot of people, when I say "odds
favor", I mean just that. It is not code for "not a chance in hell" or
"absolutely".)



More information about the Python-list mailing list