Ajusts for py3k