'Write a list (or any iterable) of data bytes to the transport.
The default implementation concatenates the arguments and
calls write() on the result.'

def writelines(self, list_of_data):

    if (not _PY34):
        list_of_data = ((bytes(data) if isinstance(data, memoryview) else data) for data in list_of_data)
    self.write(''.join(list_of_data))
