Weird 'and' result...

Artur M. Piwko pipen at
Sat Jun 21 01:22:46 CEST 2003

pipen at demon:/tmp/ekg-1.1rc1$ python
Python 2.2.3 (#1, Jun  4 2003, 02:54:59)
[GCC 3.3 (Debian)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> "%08x" % (0xea7ee5ccea7 & 0xffffffff)

And it should be 'ee5ccea7'. Am I missing something?

Before the Goat of Mendes... we all must take our turn   |  Artur M. Piwko
Into the magic circle... where still the fire burns      |  mailto:s/_/./
We're spinning round and round... until one takes a fall | -- Mercyful Fate
The fallen one will not return, the fallen one must burn | "Witches' Dance"

More information about the Python-list mailing list