Message410552
It would be great to be able to use peek() on BytesIO objects.
I have a function that gets passed a file-like object and uses peek() on it. This works for nearly all types of files relevant in my library, except BytesIO instances (which I use during testing), for which I need to add a small workaround using tell() and seek(). |
|
Date |
User |
Action |
Args |
2022-01-14 10:39:24 | marcelm | set | recipients:
+ marcelm |
2022-01-14 10:39:24 | marcelm | set | messageid: <1642156764.85.0.265737268073.issue46375@roundup.psfhosted.org> |
2022-01-14 10:39:24 | marcelm | link | issue46375 messages |
2022-01-14 10:39:24 | marcelm | create | |
|