Skip to content

Conversation

@srittau
Copy link
Collaborator

@srittau srittau commented May 11, 2025

No description provided.

@srittau
Copy link
Collaborator Author

srittau commented May 11, 2025

Closes: #13495.

@srittau srittau linked an issue May 11, 2025 that may be closed by this pull request
@github-actions

This comment has been minimized.

@srittau srittau closed this May 11, 2025
@srittau srittau reopened this May 11, 2025
@github-actions

This comment has been minimized.

@srittau srittau marked this pull request as ready for review May 11, 2025 17:18
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2025

Diff from mypy_primer, showing the effect of this PR on open source code:

zope.interface (https://github.com/zopefoundation/zope.interface)
- src/zope/interface/common/tests/test_io.py:36: error: Argument 1 to "BufferedWriter" has incompatible type "StringIO"; expected "RawIOBase"  [arg-type]
+ src/zope/interface/common/tests/test_io.py:36: error: Value of type variable "_BufferedWriterStreamT" of "BufferedWriter" cannot be "StringIO"  [type-var]
- src/zope/interface/common/tests/test_io.py:41: error: Argument 2 to "BufferedRWPair" has incompatible type "BytesIO"; expected "RawIOBase"  [arg-type]

ibis (https://github.com/ibis-project/ibis)
- ibis/expr/visualize.py:182: error: Incompatible types in assignment (expression has type "BufferedWriter", variable has type "_TemporaryFileWrapper[bytes]")  [assignment]
+ ibis/expr/visualize.py:182: error: Incompatible types in assignment (expression has type "BufferedWriter[_BufferedWriterStream]", variable has type "_TemporaryFileWrapper[bytes]")  [assignment]

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.

BufferedRWPair annotations

1 participant