• Pablo Galindo's avatar
    bpo-34521: Fix tests in test_multiprocessing_spawn to use correctly CMSG_SPACE (GH-9613) · 077061a7
    Pablo Galindo yazdı
    After some failures in AMD64 FreeBSD CURRENT Debug 3.x buildbots
    regarding tests in test_multiprocessing_spawn and after examining
    similar failures in test_socket, some errors in the calculation of
    ancillary data buffers were found in multiprocessing.reduction.
    
    CMSG_LEN() can often be used as the buffer size for recvmsg() to
    receive a single item of ancillary data, but RFC 3542 requires portable
    applications to use CMSG_SPACE() and thus include space for padding,
    even when the item will be the last in the buffer.
    
    The failures we experience are due to the usage of CMSG_LEN() instead of
    CMSG_SPACE().
    077061a7
Adı
Son kayıt (commit)
Son güncelleme
..
dummy Loading commit data...
__init__.py Loading commit data...
connection.py Loading commit data...
context.py Loading commit data...
forkserver.py Loading commit data...
heap.py Loading commit data...
managers.py Loading commit data...
pool.py Loading commit data...
popen_fork.py Loading commit data...
popen_forkserver.py Loading commit data...
popen_spawn_posix.py Loading commit data...
popen_spawn_win32.py Loading commit data...
process.py Loading commit data...
queues.py Loading commit data...
reduction.py Loading commit data...
resource_sharer.py Loading commit data...
semaphore_tracker.py Loading commit data...
sharedctypes.py Loading commit data...
spawn.py Loading commit data...
synchronize.py Loading commit data...
util.py Loading commit data...