null merge 3.2

Python 3.3 has the correct fix for #12429, use pthread_sigmask().