s/xrange/range/ for Py3k