code: def stderr_avail(self):
          
          data = self.interpreter.stderr_write.empty_queue()
          if data:
              self.write(data, error=True)
              self.flush(error=True)
docs: Data is available in stderr, let's empty the queue and write it!