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

drop support for passing buffers to smart_open.open #660

Merged
merged 7 commits into from Feb 18, 2022
Merged

Conversation

mpenkov
Copy link
Collaborator

@mpenkov mpenkov commented Oct 10, 2021

Fix #570

This breaks backward compatibility with older versions of smart_open, so we'll need a major version bump.

On the plus side, this behavior was not compatible with the built-in open, so removing it makes us more compatible.

Copy link
Owner

@piskvorky piskvorky left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

I added some comments to code that gave me a pause. But that's just me being slow :)

smart_open/tests/test_smart_open.py Outdated Show resolved Hide resolved
smart_open/tests/test_smart_open.py Outdated Show resolved Hide resolved
mpenkov and others added 4 commits October 26, 2021 17:54
Co-authored-by: Radim Řehůřek <radimrehurek@seznam.cz>
Co-authored-by: Radim Řehůřek <radimrehurek@seznam.cz>
@mpenkov mpenkov merged commit cd43141 into develop Feb 18, 2022
@mpenkov mpenkov deleted the drop-buffer branch February 18, 2022 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to read from io.StringIO
2 participants