Decode for py3k.