mirror of
https://github.com/python/cpython.git
synced 2026-05-18 02:15:28 -04:00
25038ecfb6
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.
Source files for standard library extension modules, and former extension modules that are now builtin modules.