[issue31540] Adding context in concurrent.futures.ProcessPoolExecutor

2017-10-03 Thread Antoine Pitrou

Change by Antoine Pitrou :


--
resolution:  -> fixed
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31540] Adding context in concurrent.futures.ProcessPoolExecutor

2017-10-03 Thread Antoine Pitrou

Antoine Pitrou  added the comment:


New changeset e8c368df22c344183627e7ef882bea1683fe6dbe by Antoine Pitrou 
(Thomas Moreau) in branch 'master':
bpo-31540: Allow passing multiprocessing context to ProcessPoolExecutor (#3682)
https://github.com/python/cpython/commit/e8c368df22c344183627e7ef882bea1683fe6dbe


--
nosy: +pitrou

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31540] Adding context in concurrent.futures.ProcessPoolExecutor

2017-09-21 Thread Thomas Moreau

New submission from Thomas Moreau:

The `ProcessPoolExecutor` processes start method can only be change by changing 
the global default context with `set_start_method` at the beginning of a 
script. We propose to allow passing a context argument in the constructor to 
allow more flexible control of the executor.

Adding this would allow testing `ProcessPoolExecutor` with all the available 
context

--
components: Library (Lib)
messages: 302674
nosy: tomMoral
priority: normal
pull_requests: 3671
severity: normal
status: open
title: Adding context in concurrent.futures.ProcessPoolExecutor
type: enhancement
versions: Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com