Repository navigation
Commit 7309e0f
committed
`BytesIOProxy` exposes the `io.BytesIO` interface without being an
instance of it, so `hashlib.file_digest` reads it with `readinto()`
from its current position.
1 parent 644ac60 commit 7309e0f
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
120 | 130 | | |
121 | 131 | | |
122 | 132 | | |
| |||
584 | 594 | | |
585 | 595 | | |
586 | 596 | | |
| 597 | + | |
587 | 598 | | |
588 | 599 | | |
589 | | - | |
| 600 | + | |
590 | 601 | | |
591 | 602 | | |
592 | 603 | | |
| |||
0 commit comments