code: def poll_error(self):
          
          if self.block:
              return self.error
  
          new_list = self.error[self.old_error_size:]
          self.old_error_size += len(new_list)
          return new_list
docs: Append lines from stderr to self.errors.
  
          Returns:
              list: The lines added since last call