gh-103462: Ensure SelectorSocketTransport.writelines registers a writer when data is still pending by alisaifee · Pull Request #103463 · python/cpython
Includes two failing tests that demonstrate a bug where if the data passed to writelines can't be sent in one shot, the remaining buffer isn't written since there is no registered write handler
alisaifee
changed the title
gh-103462: Ensure SelectorSocketTransport.writelines schedules a writer when data is still pending
gh-103462: Ensure SelectorSocketTransport.writelines registers a writer when data is still pending
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Can you add a news entry? Thanks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters