You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This violates the usual write() contract of returning the number of items written (for synchronous I/O) and also affects StreamReaderWriter.write() transitively.
In this case it seems trivial to just return the result of the called self.stream.write().
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
This violates the usual
write()
contract of returning the number of items written (for synchronous I/O) and also affectsStreamReaderWriter.write()
transitively.In this case it seems trivial to just return the result of the called
self.stream.write()
.CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: