Yelp/python-gearman — pull request #28 by klange (2012-09-20 22:15:58+00:00)
Title: Raise an exception if we didn't send everything

This is mostly a test. If we reach a point where we didn't send everything, it is highly likely something went wrong. Previously, we would try to send the rest of the buffer on the next `handle_write` call, but instead we'll raise an exception. There are some notes to this affect in the added comments.