No wr_long in 3.4

I basically copied the compile function /usr/lib/python3.4/py_compile.py which solves the wr_long error.
This should be ``py_compile.PyCompileError``. The test error for Python 3.4 on TravisCI is real.