integer to binary...

Tim Chase python.list at tim.thechases.com
Sat Jun 3 11:20:09 EDT 2006


> The fact that they impliment the xor operator is pretty much
> proof that integers are stored in binary format -- xor is only
> defined for binary numbers.

Um...let's not use bad logic/proofs for evidencing this...

 >>> hasattr(set(), "__xor__")
True

:)

-tkc






More information about the Python-list mailing list