Skip to content

Added support for reading StringIO/IO instances directly. #60

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

Closed
wants to merge 1 commit into from
Closed

Added support for reading StringIO/IO instances directly. #60

wants to merge 1 commit into from

Conversation

pnomolos
Copy link

For StringIO support to work properly we're waiting on rubyzip/rubyzip#353.

If we'd like to not wait I'll throw a condition on the @files.close call, otherwise I'm not sure how quick that PR will be pulled in.

@pythonicrubyist
Copy link
Owner

Thanks for your contribution @pnomolos . Since #60 has been merged, I will close this PR.

@d1ceward
Copy link

d1ceward commented May 2, 2018

Hello, i don't understand what you said...

Since #60 has been merged, I will close this PR.

#60 is this PR, and this hasn't been merged, mistyping ?

@pnomolos
Copy link
Author

@pythonicrubyist Just following up about this, you referenced #60 but that's this issue. Which did you mean? Thanks!

@jeromedoucet
Copy link

jeromedoucet commented Sep 23, 2021

@pythonicrubyist Unfortunately, creek still doesn't support IO instances directly on ::Creek::Book#new, which was the purposed of this PR.

Please reconsider re-opening this PR to support it, because there are many use-case where we legitimately do not wish using a File but an IO instead.

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.

4 participants