Skip to content

gh-130733: Fix ValueError in PipeConnection.send_bytes() on Windows - #162335

Open
tanloong wants to merge 3 commits into
python:mainfrom
tanloong:send_bytes-valuerror
Open

tanloong wants to merge 3 commits into
python:mainfrom
tanloong:send_bytes-valuerror

Conversation

@tanloong

@tanloong tanloong commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

This makes send_bytes() concurrent. As mentioned in #130733 (comment), turn single overlapped operation _send_ov into a list. Use a threading.Lock to protect the list during sending bytes and closing the connection. I confirm the issue reproduces before and can not be reproduced after the change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant