10000 gh-107219: Fix concurrent.futures terminate_broken() by vstinner · Pull Request #109244 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-107219: Fix concurrent.futures terminate_broken() #109244

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 11, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove PipeConnection.__init__()
Address Serhiy's review.
  • Loading branch information
vstinner committed Sep 11, 2023
commit 069fbfa35488828d4e23eb4a39c17b7b38bd6a39
5 changes: 1 addition & 4 deletions Lib/multiprocessing/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,7 @@ class PipeConnection(_ConnectionBase):
with FILE_FLAG_OVERLAPPED.
"""
_got_empty_message = False

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self._send_ov = None
_send_ov = None

def _close(self, _CloseHandle=_winapi.CloseHandle):
ov = self._send_ov
Expand Down
0