At the time I ported psutil to python 3 ( issue 73 ) the recommended porting strategy was to use 2to3. As such, 2to3 is currently run for all the py files at ...
<li>In the simplest case, the <code>2to3</code> script will simply convert <code>xrange()</code> to <code>range()</code>. <li>If your Python 2 code used <code>range ...