Need help cloning? Visit
is a free Git and Mercurial client for Windows.
is a free Git and Mercurial client for Mac.
If 'str' object is passed to send(), let's assume it's utf-8. Otherwise application that produce utf-8 by construction are taxed with unnecessary re-encoding.
This also fixes the exception type: Exception -> TypeError
And adds common base class for websockets where common methods are held.
Final patch also fixes pep8 (except of 80-columns rule which is lame)