def handle_read(self):
        """Read and queue up to `maxdata` bytes, and notify any observers."""
        if self.readable():
            data = self.recv(self.maxdata)
            if data:
                self.__data.append(data)
                self._obs_notify(self.PIPE_DATA)
Read and queue up to `maxdata` bytes, and notify any observers.
recipes/Python/576967_Asynchronous_pipe_communicatiusing/recipe-576967.py