while newline character is not contained in self.buffer and, size is None or length of self.buffer is less than size,
while b'\n' not in self . buffer and ( size is None or len ( self . buffer ) < size ) :