update to PyPy 1.9 and some pep8 fixes