xrange support for py3k