fix reraise on py3

based on #362 by @fantix
fix pyflakes check on py3

and ignore gevent/util_py2.py