(self, outwrap)
| 233 | self.noread() |
| 234 | |
| 235 | def copy_to(self, outwrap): |
| 236 | if self.buf and self.buf[0]: |
| 237 | wrote = outwrap.write(self.buf[0]) |
| 238 | self.buf[0] = self.buf[0][wrote:] |
| 239 | while self.buf and not self.buf[0]: |
| 240 | self.buf.pop(0) |
| 241 | if not self.buf and self.shut_read: |
| 242 | outwrap.nowrite() |
| 243 | |
| 244 | |
| 245 | class Handler: |