Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle non-seekable stream #1907

Merged
merged 1 commit into from
Nov 3, 2024
Merged

Conversation

kdt3rd
Copy link
Contributor

@kdt3rd kdt3rd commented Nov 3, 2024

If a stream is not seekable, grab the value (whole buffer) and provide that.

Fixes #1906 at least for python3.12

If a stream is not seekable, grab the value (whole buffer) and provide
that

Signed-off-by: Kimball Thurston <[email protected]>
Copy link
Member

@cary-ilm cary-ilm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. The intention is that this code is deprecated, but if the fix is easy, we might as well keep it functioning.

@cary-ilm cary-ilm merged commit 1a5f8da into AcademySoftwareFoundation:main Nov 3, 2024
9 checks passed
cary-ilm pushed a commit that referenced this pull request Nov 3, 2024
If a stream is not seekable, grab the value (whole buffer) and provide
that

Signed-off-by: Kimball Thurston <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OSError: Unable to open '' for read
2 participants