Python 3 fixes for all of the relax code base.
The command used was: 2to3 -j 4 -w \ -f buffer \ -f idioms \ -f set_literal \ -f ws_comma \ -x except \ -x import \ -x imports \ -x long \ -x numliterals \ -x xrange \ .
The lib.compat and multi.processor module changes were fatal, not useful for Python 3, and hence reverted.
Authored by: bugman 2014-05-20
Parent: [r23262]
Child: [r23264]