[issue22281] ProcessPoolExecutor/ThreadPoolExecutor should provide introspection APIs

2017-11-02 Thread Thomas Moreau
Change by Thomas Moreau : -- pull_requests: +4207 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list mail

[issue22281] ProcessPoolExecutor/ThreadPoolExecutor should provide introspection APIs

2017-09-02 Thread Dan O'Reilly
Dan O'Reilly added the comment: Unfortunately, I don't really have time to continue working on this anymore (or any of the other proposed patches I had submitted around 2014). -- ___ Python tracker ___

[issue22281] ProcessPoolExecutor/ThreadPoolExecutor should provide introspection APIs

2017-09-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Dan, not sure you're still interested on working on this? Looking at the API, IMHO it should be consolidated as a simple stats() method, which allows for a consistent snapshot. -- nosy: +pitrou stage: -> needs patch versions: +Python 3.7 -Python 3.5 _

[issue22281] ProcessPoolExecutor/ThreadPoolExecutor should provide introspection APIs

2017-02-12 Thread Camilla Montonen
Changes by Camilla Montonen : -- nosy: +Winterflower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue22281] ProcessPoolExecutor/ThreadPoolExecutor should provide introspection APIs

2014-08-27 Thread Ram Rachum
Ram Rachum added the comment: I'd definitely consolidate. First of all, I'd put a few useful numbers in `Executor.__repr__`. Something like . That already makes to easy to get a general picture of how the executor is doing without digging in too deeply. Next, I'd make a property `workers` (o

[issue22281] ProcessPoolExecutor/ThreadPoolExecutor should provide introspection APIs

2014-08-26 Thread Claudiu Popa
Changes by Claudiu Popa : -- nosy: +Claudiu.Popa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue22281] ProcessPoolExecutor/ThreadPoolExecutor should provide introspection APIs

2014-08-26 Thread Dan O'Reilly
Changes by Dan O'Reilly : Added file: http://bugs.python.org/file36481/exectest.py ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue22281] ProcessPoolExecutor/ThreadPoolExecutor should provide introspection APIs

2014-08-26 Thread Dan O'Reilly
New submission from Dan O'Reilly: As initially discussed on python-ideas, it would be nice if there was a way to query the concurrent.futures Executor objects for information about their internal state - number of total/active/idle workers, number of total/active/waiting tasks, which tasks are