(self)
| 224 | return '' # unexpected error... we'll call it EOF |
| 225 | |
| 226 | def fill(self): |
| 227 | if self.buf: |
| 228 | return |
| 229 | rb = self.uread() |
| 230 | if rb: |
| 231 | self.buf.append(rb) |
| 232 | if rb == '': # empty string means EOF; None means temporarily empty |
| 233 | self.noread() |
| 234 | |
| 235 | def copy_to(self, outwrap): |
| 236 | if self.buf and self.buf[0]: |