(self,data)
| 472 | self.environ.update(self.base_env) |
| 473 | |
| 474 | def _write(self,data): |
| 475 | result = self.stdout.write(data) |
| 476 | if result is None or result == len(data): |
| 477 | return |
| 478 | from warnings import warn |
| 479 | warn("SimpleHandler.stdout.write() should not do partial writes", |
| 480 | DeprecationWarning) |
| 481 | while data := data[result:]: |
| 482 | result = self.stdout.write(data) |
| 483 | |
| 484 | def _flush(self): |
| 485 | self.stdout.flush() |