Python 3 erize the state compiler