websocket.py used removed xrange builtin