New submission from Joshua Harlow:
When a future can't be accepted by an executor that it is has been submitted to
it would be really nice to throw have a type of 'RejectedExecutionException'
(this is the name the java folks have used) to denote that the executors policy
doe
New submission from Joshua Harlow:
It would be quite useful to have some types of metrics attached to future
objects so that callers could use them for various activities (scheduling
repeated runs, post-analysis and such):
Some of the ones that I can think would be useful:
- 'submitt
Joshua Harlow added the comment:
I like the pluggable/hookable idea, that would be nice (I'm siding on the side
of hookable, since I think that would be more 'elegant'). If these are just
callbacks that can be hooked in for these specific 'events' that would allow
Joshua Harlow added the comment:
A prototype (WIP) of how this could work, initial thoughts welcome :-)
--
keywords: +patch
Added file: http://bugs.python.org/file39711/prototype.patch
___
Python tracker
<http://bugs.python.org/issue24
Joshua Harlow added the comment:
Out of curiosity what reference cycles can't be broken in various python
versions? Is it documented/explained anywhere?
--
nosy: +Joshua.Harlow
___
Python tracker
<http://bugs.python.org/is
New submission from Joshua Harlow:
In situations where thread-local variables need to be setup it is quite useful
to be able to hook into the thread creation process, so that as each new thread
is spun up by the ThreadPoolExecutor that the threads created initially call
into a provided
Changes by Joshua Harlow :
--
type: -> enhancement
___
Python tracker
<http://bugs.python.org/issue24980>
___
___
Python-bugs-list mailing list
Unsubscrib
Changes by Joshua Harlow :
--
versions: +Python 3.6
___
Python tracker
<http://bugs.python.org/issue24980>
___
___
Python-bugs-list mailing list
Unsubscribe:
Changes by Joshua Harlow :
--
components: +Library (Lib)
___
Python tracker
<http://bugs.python.org/issue24980>
___
___
Python-bugs-list mailing list
Unsubscribe:
Joshua Harlow added the comment:
Initial possible patch.
--
keywords: +patch
type: enhancement ->
Added file: http://bugs.python.org/file40318/add_future_callback.patch
___
Python tracker
<http://bugs.python.org/issu
10 matches
Mail list logo