We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0119b6a commit ab9f93dCopy full SHA for ab9f93d
Lib/multiprocessing/reduction.py
@@ -155,6 +155,10 @@ def recvfds(sock, size):
155
if not msg and not ancdata:
156
raise EOFError
157
try:
158
+ # We send/recv an Ack byte after the fds to work around an old
159
+ # macOS bug; it isn't clear if this is still required but it
160
+ # makes unit testing fd sending easier.
161
+ # See: https://github.com/python/cpython/issues/58874
162
sock.send(b'A') # Acknowledge
163
if len(ancdata) != 1:
164
raise RuntimeError('received %d items of ancdata' %
0 commit comments