ignore pyflakes warnings in socket.py