Skip to content

Use BytesIO instead of StringIO - #4376

Merged
hugovk merged 1 commit into
python-pillow:masterfrom
radarhere:bytes
Jan 21, 2020
Merged

Use BytesIO instead of StringIO#4376
hugovk merged 1 commit into
python-pillow:masterfrom
radarhere:bytes

Conversation

@radarhere

Copy link
Copy Markdown
Member

Updates the tutorial in light of #4302, and in light of the fact that StringIO.StringIO doesn't exist in Python 3.

@hugovk

hugovk commented Jan 21, 2020

Copy link
Copy Markdown
Member

The failures are an unrelated problem in the newly-released pip 20.0.0: pypa/pip#7620

I expect there'll be a pip 20.0.1 soonish, shall we do something like this in the meantime?

python -m pip install --upgrade "pip!=20.0.0"

@hugovk

hugovk commented Jan 21, 2020

Copy link
Copy Markdown
Member

And we don't need the workaround for this docs PR, and can possibly wait a bit for a new pip release before needing it. Merging, thanks!

@hugovk
hugovk merged commit 8e33285 into python-pillow:master Jan 21, 2020
@radarhere
radarhere deleted the bytes branch January 21, 2020 12:33
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.

2 participants