[issue29859] Return code of pthread_* in thread_pthread.h is not used for perror

Daniel Birnstiel report at bugs.python.org
Tue Mar 21 06:14:34 EDT 2017


Daniel Birnstiel added the comment:

While I agree, fprintf it not really nice, I looked through other parts of the python source where information is printed to stderr and fprintf was used there as well, so I fell back to it myself.

% grep -rnw . -e "fprintf(stderr," | wc -l                                                                                                                                                                 178

Using threading and multiprocessing is insane, I know that. Nevertheless the error codes returned by the pthread_* calls are processed incorrectly, so I would consider this a bug worth fixing.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29859>
_______________________________________


More information about the Python-bugs-list mailing list