diff options
author | Cheryl Sabella <cheryl.sabella@gmail.com> | 2019-03-04 00:00:49 (GMT) |
---|---|---|
committer | larryhastings <larry@hastings.org> | 2019-03-04 00:00:49 (GMT) |
commit | 8ec1fd11f2d524859cfefae76458fcfd22decf65 (patch) | |
tree | 96f9a6c3c6c9a2377874a4412d26a6deba191706 /Python/Python-ast.c | |
parent | 56f8783e3e32ddc0cb84a96711e3861aea9895ac (diff) | |
download | cpython-8ec1fd11f2d524859cfefae76458fcfd22decf65.zip cpython-8ec1fd11f2d524859cfefae76458fcfd22decf65.tar.gz cpython-8ec1fd11f2d524859cfefae76458fcfd22decf65.tar.bz2 |
[3.5] bpo-33329: Fix multiprocessing regression on newer glibcs (GH-6575) (#12144)
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 25038ec)
Co-authored-by: Antoine Pitrou <pitrou@free.fr>
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions