def run(self):
        for line in iter(self._fd.readline, ''):
            self._handler(line.replace('\n', ''))
The body of the thread: read lines and put them on the queue.
dataset/ETHPy150Open UniversalDevicesInc/Polyglot/polyglot/utils.py/AsyncFileReader.run