cpython/Lib/multiprocessing
Pablo Galindo 077061a7b2 bpo-34521: Fix tests in test_multiprocessing_spawn to use correctly CMSG_SPACE (GH-9613)
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().
2018-09-28 02:51:05 -07:00
..
dummy bpo-5001: More-informative multiprocessing error messages (#3079) 2017-08-30 00:52:18 +02:00
__init__.py Simplify __all__ in multiprocessing (GH-6856) 2018-07-11 19:22:28 +09:00
connection.py bpo-34054: multiprocessing uses time.monotonic() (GH-8118) 2018-07-06 13:51:52 +02:00
context.py Simplify __all__ in multiprocessing (GH-6856) 2018-07-11 19:22:28 +09:00
forkserver.py bpo-31308: If multiprocessing's forkserver dies, launch it again when necessary (#3246) 2017-11-03 13:34:22 +01:00
heap.py bpo-32759: Free unused arenas in multiprocessing.heap (GH-5827) 2018-04-09 17:37:55 +02:00
managers.py bpo-34610: Fixed iterator of multiprocessing.managers.DictProxy. (GH-9113) 2018-09-17 14:24:01 +03:00
pool.py bpo-32576: use queue.SimpleQueue in critical places (#5216) 2018-01-18 10:38:03 +01:00
popen_fork.py bpo-31804: Fix multiprocessing.Process with broken standard streams (#6079) 2018-03-11 19:21:38 +01:00
popen_forkserver.py Fix bpo-30596: Add close() method to multiprocessing.Process (#2010) 2017-06-24 19:22:23 +02:00
popen_spawn_posix.py Fix bpo-30596: Add close() method to multiprocessing.Process (#2010) 2017-06-24 19:22:23 +02:00
popen_spawn_win32.py bpo-33929: multiprocessing: fix handle leak on race condition (GH-7921) 2018-06-27 11:40:24 +02:00
process.py bpo-31804: Fix multiprocessing.Process with broken standard streams (#6079) 2018-03-11 19:21:38 +01:00
queues.py bpo-34054: multiprocessing uses time.monotonic() (GH-8118) 2018-07-06 13:51:52 +02:00
reduction.py bpo-34521: Fix tests in test_multiprocessing_spawn to use correctly CMSG_SPACE (GH-9613) 2018-09-28 02:51:05 -07:00
resource_sharer.py bpo-33332: Add signal.valid_signals() (GH-6581) 2018-05-04 13:00:50 +02:00
semaphore_tracker.py bpo-33613, test_semaphore_tracker_sigint: fix race condition (#7850) 2018-09-04 10:53:54 +02:00
sharedctypes.py bpo-32157: Removed explicit quotes around %r and {!r}. (#4582) 2017-11-28 22:54:42 +02:00
spawn.py bpo-33929: Fix regression in spawn_main() (#7962) 2018-06-27 15:18:39 +02:00
synchronize.py bpo-34054: multiprocessing uses time.monotonic() (GH-8118) 2018-07-06 13:51:52 +02:00
util.py bpo-31804: Fix multiprocessing.Process with broken standard streams (#6079) 2018-03-11 19:21:38 +01:00