Author marcelm
Recipients marcelm
Date 2022-01-14.10:39:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642156764.85.0.265737268073.issue46375@roundup.psfhosted.org>
In-reply-to
Content
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().
History
Date User Action Args
2022-01-14 10:39:24marcelmsetrecipients: + marcelm
2022-01-14 10:39:24marcelmsetmessageid: <1642156764.85.0.265737268073.issue46375@roundup.psfhosted.org>
2022-01-14 10:39:24marcelmlinkissue46375 messages
2022-01-14 10:39:24marcelmcreate