> Shouldn't this be: > > id2name[key >> 40][key & 0xffffffffff] = name
Yes, exactly, I had done hex(pow(2,40)) when I meant hex(pow(2,40)-1) I sent my correction a few minutes afterwards but Mailman queued it for moderator approval (condition with replying to myself?) -- http://mail.python.org/mailman/listinfo/python-list