jaraco / irc

Full-featured Python IRC library for Python.
MIT License
390 stars 85 forks source link

IRCClient _send() method in server.py does not handle broken pipe #119

Closed strictlymike closed 7 years ago

strictlymike commented 7 years ago

This results in unwanted exception output in serve_forever(). A localized work-around is to inherit and override _send() to except socket.error and raise self.Disconnect(). Is that an adequate fix for master?