Skip to content

Update typeshed to fix TextIOWrapper constructor - #8965

Merged
ilevkivskyi merged 3 commits into
python:masterfrom
Zeletochoy:update-typeshed-textiowrapper
Jun 12, 2020
Merged

ilevkivskyi merged 3 commits into
python:masterfrom
Zeletochoy:update-typeshed-textiowrapper

Conversation

@Zeletochoy

Copy link
Copy Markdown
Contributor

Currently it doesn't accept ZipFile.open()'s output and fails with
error: Argument 1 to "TextIOWrapper" has incompatible type "IO[bytes]"; expected "BinaryIO"

That was fixed in python/typeshed@3058bec

Currently it doesn't accept ZipFile.open()'s output and fails with
error: Argument 1 to "TextIOWrapper" has incompatible type "IO[bytes]"; expected "BinaryIO"

That was fixed in python/typeshed@3058bec

@ilevkivskyi ilevkivskyi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LG!

@ilevkivskyi
ilevkivskyi merged commit 84bcb25 into python:master Jun 12, 2020
@Zeletochoy
Zeletochoy deleted the update-typeshed-textiowrapper branch June 15, 2020 01:18
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.

2 participants