def readline(self, terminator=b"\n", bufsize=1024):
        if self._closed:
            raise SocketClosedError()

        while True:
            if terminator in self._buf:
                line, self._buf = self._buf.split(terminator, 1)
                line += terminator
                yield ReturnEvent(line)
                break
            data = yield ReceiveEvent(self, bufsize)
            if data:
                self._buf += data
            else:
                line = self._buf
                self._buf = b''
                yield ReturnEvent(line)
                break
test setting a new value for a macro which references the old
dataset/ETHPy150Open beetbox/beets/beets/util/bluelet.py/Connection.readline--crossover with--dataset/ETHPy150Open sassoftware/conary/conary_test/cvctest/recipetest.py/MacroTest.test2