(p, data)
| 190 | return b''.join(y) |
| 191 | |
| 192 | def send_all(p, data): |
| 193 | if not data: |
| 194 | return |
| 195 | |
| 196 | data = getBytes(data) |
| 197 | |
| 198 | while len(data): |
| 199 | sent = p.send(data) |
| 200 | if not isinstance(sent, int): |
| 201 | break |
| 202 | data = buffer(data[sent:]) |
no test coverage detected
searching dependent graphs…