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
As a consequence of the optimization introduced in #91166, when SelectorSocketTransport.writelines is used with a very large buffer which can't be written in one shot either by using socket.send or socket.sendmsg the remaining data in the buffer is never written to the socket.
The following example can be used to reproduce the error:
Bug report
As a consequence of the optimization introduced in #91166, when
SelectorSocketTransport.writelines
is used with a very large buffer which can't be written in one shot either by usingsocket.send
orsocket.sendmsg
the remaining data in the buffer is never written to the socket.The following example can be used to reproduce the error:
The example above prints
End marker: b'end'
with python 3.11 but not with python3.12.0a6+
Your environment
3.12.0a7
Linked PRs
The text was updated successfully, but these errors were encountered: