[issue32511] Thread primitives do not report the OS-level error on failure

2018-01-07 Thread Nitish
Change by Nitish : -- nosy: +nitishch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue32511] Thread primitives do not report the OS-level error on failure

2018-01-07 Thread Dryden Bouamalay
Change by Dryden Bouamalay : -- nosy: +drydenb ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue32511] Thread primitives do not report the OS-level error on failure

2018-01-07 Thread Zack Weinberg
New submission from Zack Weinberg : [_]thread.start_new_thread can fail if the underlying OS primitive fails (pthread_create / _beginthreadex), but the exception that is thrown when this happens is a generic RuntimeError (it's _called_ ThreadError in the source code, but it doesn't have its ow