diff options
author | Antoine Pitrou <pitrou@free.fr> | 2018-04-23 20:22:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-23 20:22:49 (GMT) |
commit | b0ca398cabd2d2ea2d66fa50b08e297a60388c75 (patch) | |
tree | 4e0886c84c8075b86f96e4dcb79519b0160653d5 /Python/ast.c | |
parent | 8a6f4b4bba950fb8eead1b176c58202d773f2f70 (diff) | |
download | cpython-b0ca398cabd2d2ea2d66fa50b08e297a60388c75.zip cpython-b0ca398cabd2d2ea2d66fa50b08e297a60388c75.tar.gz cpython-b0ca398cabd2d2ea2d66fa50b08e297a60388c75.tar.bz2 |
[3.6] bpo-33329: Fix multiprocessing regression on newer glibcs (GH-6575) (GH-6582)
Starting with glibc 2.27.9000-xxx, sigaddset() can return EINVAL for some
reserved signal numbers between 1 and NSIG. The `range(1, NSIG)` idiom
is commonly used to select all signals for blocking with `pthread_sigmask`.
So we ignore the sigaddset() return value until we expose sigfillset()
to provide a better idiom.
(cherry picked from commit 25038ecfb665bef641abf8cb61afff7505b0e008)
Diffstat (limited to 'Python/ast.c')
0 files changed, 0 insertions, 0 deletions