[issue34786] ProcessPoolExecutor documentation reports wrong exception being raised

2018-09-24 Thread Xiang Zhang
Change by Xiang Zhang : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue34786] ProcessPoolExecutor documentation reports wrong exception being raised

2018-09-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +8957 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34786] ProcessPoolExecutor documentation reports wrong exception being raised

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Got it. Sorry about that I copy pasted the quoted string and assumed ThreadPoolExecutor overlooking the PR. The change is reasonable to me. Thanks -- ___ Python tracker

[issue34786] ProcessPoolExecutor documentation reports wrong exception being raised

2018-09-24 Thread Joni Kähärä
Joni Kähärä added the comment: Perhaps I wasn't clear that this considered ProcessPoolExecutor documentation, not ThreadPoolExecutor. Taking the example from documentation and adding an initializer like this: import concurrent.futures import math PRIMES = [ 112272535095293, 11258270

[issue34786] ProcessPoolExecutor documentation reports wrong exception being raised

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think it raises BrokenThreadPool . A sample program that I tried as below raising an exception in the initializer. Maybe I am wrong here. Can you please attach a script that triggers BrokenProcessPool? # bpo34786.py import concurrent.futures imp

[issue34786] ProcessPoolExecutor documentation reports wrong exception being raised

2018-09-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34786] ProcessPoolExecutor documentation reports wrong exception being raised

2018-09-24 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +8936 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue34786] ProcessPoolExecutor documentation reports wrong exception being raised

2018-09-24 Thread Joni Kähärä
New submission from Joni Kähärä : https://docs.python.org/3.8/library/concurrent.futures.html "initializer is an optional callable that is called at the start of each worker process; initargs is a tuple of arguments passed to the initializer. Should initializer raise an exception, all currentl