@property
    def done_reading_event(self):
        return self.worker.EOF
Done_reding does not mean that the iterator's buffer is empty.
dataset/ETHPy150Open codeinn/vcs/vcs/subprocessio.py/BufferedGenerator.done_reading_event