diff -r Doc/library/asynchat.rst +++ a Doc/library/asynchat.rst Thur Mar 13 11:35:00 2014 +++ b Doc/library/asynchat.rst Sun Mar 16 00:35:00 2014 +.. asychat documentation + + asychat documentation needs to be more precise in its use of string vs bytes +----------------------------------------------------------------------------- + The producer indicates exhaustion (*i.e.* that it contains no more data) by - having its :meth:`more` method return the empty string. At this point the - :class:`async_chat` object removes the producer from the fifo and starts + having its :meth:`more` method return the empty bytes object. At this point + the :class:`async_chat` object removes the producer from the fifo and starts using the next producer, if any. When the producer fifo is empty the :meth:`handle_write` method does nothing. You use the channel object's